Open helgatheviking opened 9 years ago
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 .
You are welcome to make a PR.
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.