yui-compressor
YUI Compressor comments syntax error
I use YUI Compressor in Symfony2 with assetic bundle. I have a problem: If a jquery file start with /* comments I get syntax error.... In order to get rid of it I need to delete all /* comments from all js files... This is starting to be a problem as everytime I update other bundles the comments are returning. Anyone have an idea how to sovle this? Is this a known issue? YUI Compressor version: 2.4.8 Thanks a lot.
Cannot seem to find why this is happening. It is most likely a bug. If you use Dreamweaver, try using this to ease your work. If you are not using dreamweaver, find your favourite program here. Hope this helps!
Check the encoding on your file. I've had problems with YUI Compressor if my .js and .css files were not UTF-8.
Related Links
YuiCompressor.net - adding javascript source map links
YUI Compressor - compress from one directory to another
How to use yuicompressor in node application to minify javascript [closed]
Where can I find the latest version of yuicompressor to download
YUI Compressor to compress all the files in a directory
YUI Compressor comments syntax error
Why won't YUI Compressor munge these function names?
Does YUI compressor have support for rewriting relative paths?
YUI-Compressor: result file is empty
How to preserve comments with YUI compressor
YUI Compressor: What are micro optimizations?
Use Packer AND YUI Compressor?