-
Notifications
You must be signed in to change notification settings - Fork 312
feat(config): add command line flag to disable minifyJs on prod build #870
feat(config): add command line flag to disable minifyJs on prod build #870
Conversation
|
@elevente very nice :) I tested your PR combined with a custom webpack config (with uglifyjs plugin: BR |
|
@DavidStrausz try |
|
@larssn thanks but no difference -> compress is enabled by default according to the plugin docs. |
|
Ah, you're right |
|
I'm a bit quick on the trigger these days. Removed the code I posted, as it doesn't work. Might as well dump the entire custom webpack config, as that does work. Maybe someone will get use from it. |
|
Sorry, this is more overhead for us that at this time we don't wish to take on. A prod build consists of:
You can add those options to Thanks, |
|
@danbucholtz Going back to this. How would we get around not using May I suggest going forward, that we can somehow customise what exactly is part of a |
|
Is --noMinifyJs still included in the latest ionic/app-scripts? I don't see it in the source code |
|
I also have noticed that my source maps in sentry are broken on 3.1.* but work on 3.0.1 |
Short description of what this resolves:
I added a command line flag(--noMinifyJs) to disable minifyJs on prod build, so we can use the uglifyJs plugin in webpack config and generate a sourcemap file which is correct. Issue: #856
Changes proposed in this pull request: