-
Notifications
You must be signed in to change notification settings - Fork 347
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
Code is being sorted #271
Comments
This is likely an issue with Uglify, and not this task, which is just a wrapper. Have you tried running the source through the uglify command line? Does it also resort your code? |
Yes I have and no it doesn't sort the code. |
Which version are you comparing against? The development version? If so, try turning on the beautify flag to the CLI. More generally make sure that the options are the same when you're comparing. |
Oh sorry, forgot to mention that. No, the production is used. I have specially added |
Tried a more basic config and started
Same problem. |
@jmeas Can you reproduce this issue? |
+1, i'm experiencing this as well.
the array of app.js is not respected, breaking the production minified code. i havent tried uglify from the command line, but will try now. |
I also have this issue on grunt contrib uglify 2.3.0
|
When I'm running uglifier, the code in the destination file is not arranged like in the source file.
Short Example
Source
Destination
Real Example
Source
Destination
My Config
Did I do something wrong or is it a bad bug?!
The text was updated successfully, but these errors were encountered: