-
Notifications
You must be signed in to change notification settings - Fork 348
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
Setting 'compress' option to 'false' still results in minified output #257
Comments
From #65:
You should probably report it in the UglifyJS2 repository. |
OK, will do. |
// 是否压缩代码
output: {
beautify: false
} |
Hey, what was the result of this? Uglify is breaking my AngularJS code. 'Error: [$compile:nonassign] Expression '' used with directive 'graphTree' is non-assignable!' I'd like to turn if off, but it's built into the Angular-Fullstack toolchain, so I can't just remove the grunt task and have it work. How do I turn off mangling? |
My issue is exactly the same as #65. I believe it was closed with a workaround rather than a fix, and hence there is no way to prevent mangle/compression.
My ultimate goal is to strip all comments from
bundle.min.js
using this config:The text was updated successfully, but these errors were encountered: