mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-14 04:46: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",
|
||||
{
|
||||
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"],
|
||||
},
|
||||
strictCSS: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user