Answer the question
In order to leave comments, you need to log in
How to obfuscate/compress javascript on the fly?
CMS Prestashop in php, Smarty templating engine.
For Smarty, there is a smarty_outputfilter_trimwhitespace plugin, it compresses HTML, but does not touch Javascript.
I would like to do the same for JS, but there was no direct solution. Advise?
Answer the question
In order to leave comments, you need to log in
Yes, it seems to compress:
If the scripts are connected separately, then just use the compressed version, for example, I use netbeans and the plugin plugins.netbeans.org/plugin/49666/js-css-minify-co...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question