1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 15:01: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/"), from: path.resolve(__dirname, "assets/images/"),
to: "images/", to: "images/",
globOptions: {
dot: false,
},
}, },
{ {
from: path.resolve(__dirname, "node_modules/twemoji-emojis/vendor/svg/"), from: path.resolve(__dirname, "node_modules/twemoji-emojis/vendor/svg/"),
to: "emoji/", to: "emoji/",
globOptions: {
dot: false,
},
}, },
], ],
}), }),
@@ -102,14 +108,13 @@ export default {
{ {
modules: { modules: {
"lit-html": ["html"], "lit-html": ["html"],
"lit-element": ["html"], "lit-html/static.js": ["html"],
}, },
htmlMinifier: { htmlMinifier: {
html5: true, html5: true,
collapseWhitespace: true,
conservativeCollapse: true,
removeComments: false,
caseSensitive: true, caseSensitive: true,
collapseWhitespace: true,
removeComments: false,
}, },
}, },
], ],

View File

@@ -997,9 +997,9 @@
universal-user-agent "^6.0.0" universal-user-agent "^6.0.0"
"@octokit/openapi-types@^10.6.1": "@octokit/openapi-types@^10.6.1":
version "10.6.1" version "10.6.3"
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-10.6.1.tgz#4eb303e7da4de3d17216db80e3be6309f03b9fcc" resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-10.6.3.tgz#275b6e6f29f94bdf5cc6c904a3eb06787bff464d"
integrity sha512-53YKy8w8+sHQhUONhTiYt6MqNqPolejYr6rK/3VOevpORAIYGQEX2pmXnnhgdSsjHy176e5ZBgVt0ppOGziS7g== integrity sha512-D4WFg5dZHMsaPYlb18JsrMYEtlOwJckIuigKR1uqyplCSxBF80+5mXX0k+fd6NVqRPsnztoXvtyoyUYQkk87Rw==
"@octokit/request-error@^2.1.0": "@octokit/request-error@^2.1.0":
version "2.1.0" version "2.1.0"
@@ -9287,7 +9287,7 @@ string-width@^1.0.1, string-width@^1.0.2:
is-fullwidth-code-point "^1.0.0" is-fullwidth-code-point "^1.0.0"
strip-ansi "^3.0.0" strip-ansi "^3.0.0"
string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2: string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
version "4.2.3" version "4.2.3"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -9621,16 +9621,16 @@ svgo@^2.1.0, svgo@^2.3.0, svgo@^2.5.0:
stable "^0.1.8" stable "^0.1.8"
table@^6.0.9, table@^6.6.0: table@^6.0.9, table@^6.6.0:
version "6.7.1" version "6.7.2"
resolved "https://registry.yarnpkg.com/table/-/table-6.7.1.tgz#ee05592b7143831a8c94f3cee6aae4c1ccef33e2" resolved "https://registry.yarnpkg.com/table/-/table-6.7.2.tgz#a8d39b9f5966693ca8b0feba270a78722cbaf3b0"
integrity sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg== integrity sha512-UFZK67uvyNivLeQbVtkiUs8Uuuxv24aSL4/Vil2PJVtMgU8Lx0CYkP12uCGa3kjyQzOSgV1+z9Wkb82fCGsO0g==
dependencies: dependencies:
ajv "^8.0.1" ajv "^8.0.1"
lodash.clonedeep "^4.5.0" lodash.clonedeep "^4.5.0"
lodash.truncate "^4.4.2" lodash.truncate "^4.4.2"
slice-ansi "^4.0.0" slice-ansi "^4.0.0"
string-width "^4.2.0" string-width "^4.2.3"
strip-ansi "^6.0.0" strip-ansi "^6.0.1"
tapable@^2.0, tapable@^2.1.1, tapable@^2.2.0: tapable@^2.0, tapable@^2.1.1, tapable@^2.2.0:
version "2.2.1" version "2.2.1"