This project is read-only.
1
Vote

How to keep license comment in JS files when compressing?

description

Hi there,
 
Sometimes you may be using third party javascript files that have a license header using comments. When you combine these javascript files the comments are removed and the license comments are gone.
 
Is there any way to keep the comments on the top of these javascript files? For example looking at jQuery min version they have the license comments in tact: http://code.jquery.com/jquery-1.4.2.min.js
 
According to YUI compressor c-style comments with ! added shouldn't be removed:
http://www.electrictoolbox.com/preserve-comments-yui-compressor/
 
Regards DotnetShadow

comments