-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import it as a module #238
Comments
Surprisingly, version 3.0.2 had the module definitions. |
Hi @scarfacedeb, Reagards. |
In console:
In code:
And then finally in browser:
|
@hqa11 no, i used https://github.com/frontend-collective/react-image-lightbox instead of that tool |
If someone has this issue with webpack. Use "yarn add https://github.com/HeshamMeneisi/custombox" until someone accepts the pull request. |
Any update here? |
1 similar comment
Any update here? |
@gp0 this is what I had to do:
PS commander keen is boss |
It seems to be missing module definition in compiled and minified version.
Therefore I can't import it using
import Custombox from 'custombox'
.Requiring custombox.ts with ts-loader brought a lot of other issues.
The text was updated successfully, but these errors were encountered: