You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the filenames have . in them uglify gets confused and concatenates files. For example: I have jquery.fitvids.js and jquery.fastclick.js and after running the uglify from above I end up only with jquery.min.js. However, if I drop the ext setting then I get 3 files as expected.
The text was updated successfully, but these errors were encountered:
helgatheviking
changed the title
Files are accidentally combined when ext option
Files are accidentally combined when ext is defined
Jun 30, 2015
I replicated your problem and has the same issue, it only worked correctly when I renamed the files without "jquery.". Just leave the files as .js extensions.
Yes, it works when I rename the files to remove the "jquery". I think it would be ideal for the grunt plugin to get the file name from whatever preceeds .js instead of first character up until the first .
When I try to find use the bit of code from the readme to dynamically uglify all the files in a folder:
If the filenames have
.
in them uglify gets confused and concatenates files. For example: I havejquery.fitvids.js
andjquery.fastclick.js
and after running the uglify from above I end up only withjquery.min.js
. However, if I drop theext
setting then I get 3 files as expected.The text was updated successfully, but these errors were encountered: