Is there a way to keep license/credit ments when the JavaScript is being minified by YUICompressor? Is there any special menting characters? Or any flag for that in YUICompressor?
Thanks, Grace
Is there a way to keep license/credit ments when the JavaScript is being minified by YUICompressor? Is there any special menting characters? Or any flag for that in YUICompressor?
Thanks, Grace
Share Improve this question edited Jul 7, 2011 at 18:58 Grace Huang asked Jul 7, 2011 at 17:20 Grace HuangGrace Huang 5,7095 gold badges33 silver badges55 bronze badges1 Answer
Reset to default 20Yes, use
/*!
*
*/
The exclamation tells the pressor to retain the ment.
Documentation