-
Notifications
You must be signed in to change notification settings - Fork 94
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
Fix validation error with default uglify options #231
Conversation
Did they change something? https://github.com/webpack-contrib/uglifyjs-webpack-plugin#parallel |
I dont think so, but the validation is not throwing an error |
Then if boolean for |
They’ve made a breaking change without any change log entries, the correct settings are:
|
We should also lock the uglifyjs-webpack-plugin version in package.json. |
Thx for investigating, @sapegin! 👍 |
00252bf
to
2d014b9
Compare
2d014b9
to
f9a2ca6
Compare
Now the question is: why the CI is failing? |
@andywer Any ideas? |
No idea |
@sapegin Don't know. Just restarted the failed build. Maybe some issue with node 6 vs. node 8. |
An end-to-end test fails and maybe lerna swallows the error message. |
v1.0 was released |
@vlad-zhukov Thx for the hint! 🙂 |
@jvanbruegge Can we just merge jvanbruegge#1? Then we should be able to merge this PR, release a new version of the uglify block and the other PT builds should become green as well :) Would just be good if someone would have a look at my changes in jvanbruegge#1 |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I'd put the sample app into an examples
folder and add it to lerna rather than keep it in packages
. It's not critical and we can do it in another PR.
Will merge and release this evening :) |
How would you add it to lerna? |
@andywer using the |
@vlad-zhukov Ahh, alright. Good idea 👍 |
Published as |
When running a webpack config with the default options the build fails due to a validation error.