Closed Geschan closed 3 years ago
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 likeionic 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