diff --git a/build-scripts/bundle.js b/build-scripts/bundle.js index c1e2ef1d10..c02e03e8fc 100644 --- a/build-scripts/bundle.js +++ b/build-scripts/bundle.js @@ -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,