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
Hey sorry it’s taken awhile to get to this. I’ll add the uglify-save-license package and have it available as an option.
Did you experience issues with uglify running against frameworks? I’ve never had any issues before.
If you need to exclude frameworks one easy way is to put them in their own folder and not have the hook configured to run against files in it, ex. www/lib/js
Hi Ross, no problem at all.
Thanks for save license
More than problem with Frameworks is problem with already minified frameworks...
So you suggest to exclude directories?
Thanks
Luigi
I modified the script to KEEP the license at the beginning of my code and exclude frameworks like jquery as they might have issues.
In declarations:
then in "compress" function
I think those two things are quite useful.
I did not issue a pull request as the code (especially for skipping jquery) is quite poor...
Would be great if those two things could be implemented.
I found also code about image but I think those were yours original and for some reason got deleted?
Thanks
The text was updated successfully, but these errors were encountered: