Answer the question
In order to leave comments, you need to log in
How to prevent UglifyJS from minifying part of a string?
I use Prepros. It has an UglifyJS minify function.
In the js code that is minified, there is an IE definition line /*@cc_on + @_jscript_version @*/.
Question: How can I configure UglifyJS so that it doesn't remove this line?
I assume that UglifyJS considers this line as a comment and removes it.
Answer the question
In order to leave comments, you need to log in
It's better to use UglifyJS2 . He himself understands that you cannot delete "@license" or "@cc_on".
there is an IE definition string
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question