Open SuaYoo opened 2 years ago
https://www.npmjs.com/package/minify-html-literals-loader this might do some of what we want?
If I remember correctly the https://github.com/asyncLiz/minify-html-literals dependency has some security issues, and it doesn't look like they've released any updates recently. Looks like it may be released by Lit soon, though? https://github.com/lit/lit/issues/3900
Lit elements/HTML markup is not currently minified in the prod build.
See https://lit.dev/docs/tools/production/#preparing-code-for-production
https://github.com/terser/terser/issues/951