VSCodeMinify
VSCodeMinify copied to clipboard
Minifying HTML should not use the JavaScript preamble
Currently, if a minify.js.preamble is set, it is appended inside all
For example, if I set this preamble to add a company copyright to the top of all minified JavasScript files:
"preamble": "/* © 2017 My Company */",
My call to add a local copy of JQuery becomes this:
<script src="lib/externals/jquery/jquery-3.1.1.min.js">/* © 2017 My Company */ </script>
I assume the preamble should just be ignored in this case, but a setting to ignore the preamble for HTML files would work as well.