HTML Within Script Tags Will Not Minify #2019

MadBrew opened this Issue Oct 29, 2016 · 0 comments


None yet

1 participant

MadBrew commented Oct 29, 2016

HTML is not minified when using the HTML bundler with minify set to true if you have your HTML within script tags. Not sure if anything inside the script tags would minify. This could be FAD, but it would be great if the minifier would either also minify content within script tags, especially if the type="text/ng-template". Bundling HTML seems like a perfect solution for placing Angular app view templates into the cache... if it could get beyond the script tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment