mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 21:06:34 +00:00
Fix minification of SVG template literals (#15670)
This commit is contained in:
parent
895ebcdb2d
commit
a0033d9112
@ -117,7 +117,11 @@ module.exports.babelOptions = ({ latestBuild, isProdBuild }) => ({
|
|||||||
"template-html-minifier",
|
"template-html-minifier",
|
||||||
{
|
{
|
||||||
modules: {
|
modules: {
|
||||||
lit: ["html", "svg", { name: "css", encapsulation: "style" }],
|
lit: [
|
||||||
|
"html",
|
||||||
|
{ name: "svg", encapsulation: "svg" },
|
||||||
|
{ name: "css", encapsulation: "style" },
|
||||||
|
],
|
||||||
"@polymer/polymer/lib/utils/html-tag": ["html"],
|
"@polymer/polymer/lib/utils/html-tag": ["html"],
|
||||||
},
|
},
|
||||||
strictCSS: true,
|
strictCSS: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user