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
Terser for Gulp #1023
Terser for Gulp #1023
Conversation
I wrote some code that allows to use the 'terser' plugin in the 'gulp' build. There is no longer any need to use additional plugins for this.
(Added changes. Changed the name of the functions.) I wrote some code that allows to use the 'terser' plugin in the 'gulp' build. There is no longer any need to use additional plugins for this.
Hello! Thanks for this. Could you add error handling to this plugin? The minify function throws syntax errors and other failures. Also this should probably be in a RECIPES.md file |
Yes, I will try to do it. |
Added error handling
Added error handling. |
It should be a new file, linked from the README.md. I'll make sure it shows up in a new section on terser.org too, there's a script that syncs it with the readme and I'll just need to add the recipes to that script. |
I have never done this and have not found information on the Internet. |
Yes, do place it in a RECIPES.md. I'll handle the rest |
I did it, I hope everything is correct. |
Merged in #1035 |
I wrote some code that allows to use the 'terser' plugin in the 'gulp' build.
There is no longer any need to use additional plugins for this.