-
Notifications
You must be signed in to change notification settings - Fork 29
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
Custom webpack is not working when using livereload on cordova run #230
Comments
please add support custom-webpack |
I'm facing the same issue. Any news? |
Same here |
+1 , customWebpackConfig not called while execute ionic-cordova-build |
There's not a whole lot that can be done here. As far as I am aware, in order to support the kind of changes we need in the cordova-serve builder, we need to be explicit about what kind of builder we trigger. If someone wants to send a PR to address this, please do. But for now, this doesn't appear to be something that can be supported. |
HI! Any updates on this? I'm really struggling on this 😞 |
This issue is closed. We will not be implementing. |
Description
I'm using the auth0 cordova plugin and it requires to add a custom webpack configuration to add a polyfill for the
crypto
library (see https://auth0.com/docs/quickstart/native/ionic4/01-login#install-the-dependencies ).This works for normal builds like
ionic cordova run android
orionic cordova build android
. But when using livereload likeionic cordova run android -l
I'm getting the following error while building:I think there might be some issue with the configurtion in the "ionic-cordova-serve" section of the angular.json but I couldn't figure out what to change.
Environment
Dependencies
angular.json
The text was updated successfully, but these errors were encountered: