-
Notifications
You must be signed in to change notification settings - Fork 78
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
Webpack compatibility #198
Comments
I don't have experience with webpack on the level to help you with this :( |
Thank you @CrackerakiUA for your comment. @ybian you seem to had a working webpack import. I tried your solution but didn't work for me. Do you have a working Webpack 4 way please? |
@CrackerakiUA what are you using instead of Webpack? |
In fact currently I am using Webpack with use of Angular 7, I am not longer working with Angular 1. When I was using Angular 1, I was simply working with it without Webpack |
Well I'm using Webpack 4 as described in my issue so can you please help me ? :) |
I have like 0 experience with it, Angular 7 all config for that |
I see, thank you. |
I'm migrating an app from bower to webpack, and I'm struggling on this lib.
I know it is no more maintained, and I have already checked the existing issue (especially the #104), but I'm trying the proposed solution, it doesn't work.
I'm opening this issue in order to build, with your help if you'd like, a working config that anyone coming with Webpack can use.
As of now, I have installed the
imports-loader
and added it to my webpack configDisclaimer: I'm migrating a Rails application, so I'm using the Webpacker gem to do so, which explain the files architecture.
Here is my
config/webpack/environment.js
file :The webpack compilation is working fine, but in my app when I'm using the crop (which looks like working on the page), I have the following error in my console :
Looking a bit further in the source code of this library, I saw that to get the module exported with
module.exports
I need to havedefine
tofalse
andexports === 'object'
so I'm then trying to change the params like the following :But still the same 😞 (and I'm restarting webpack each time).
Can you please guide me own order to get it working please ?
Thank you !
The text was updated successfully, but these errors were encountered: