1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 19:21:18 -04:00

fix template literal minification (lit-html -> lit-html/static.js)

This commit is contained in:
2021-09-30 13:22:00 -04:00
parent e588f7674c
commit 5cfc27a5f9
2 changed files with 18 additions and 13 deletions

View File

@@ -53,10 +53,16 @@ export default {
{
from: path.resolve(__dirname, "assets/images/"),
to: "images/",
globOptions: {
dot: false,
},
},
{
from: path.resolve(__dirname, "node_modules/twemoji-emojis/vendor/svg/"),
to: "emoji/",
globOptions: {
dot: false,
},
},
],
}),
@@ -102,14 +108,13 @@ export default {
{
modules: {
"lit-html": ["html"],
"lit-element": ["html"],
"lit-html/static.js": ["html"],
},
htmlMinifier: {
html5: true,
collapseWhitespace: true,
conservativeCollapse: true,
removeComments: false,
caseSensitive: true,
collapseWhitespace: true,
removeComments: false,
},
},
],