-
Notifications
You must be signed in to change notification settings - Fork 21
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 uglify doesn't work with trumbowyg #7
Labels
Comments
Maybe it doesn't work because UglifyJs spoil the global vars names. Try to change uglufy settings to less aggressive |
I've had this problem before out of the scope Trumbowyg where Uglify complains that it can't take es6 code. Since then, I switched over to babel-minify-webpack-plugin. I hope that helps. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use trumbowyg + webpack with the following configuration
Preview.js
webpack.conf.js
The build artefact doesn't work correctly, but commenting out
new webpack.optimize.UglifyJsPlugin()
works.The text was updated successfully, but these errors were encountered: