Exclude esprima and drop js-yaml from lovelace chunk (#5649)

This commit is contained in:
Bram Kragten
2020-04-30 20:39:36 +02:00
committed by GitHub
parent 2abfd0392d
commit f3e88f6f2e
9 changed files with 78 additions and 48 deletions

View File

@@ -49,6 +49,9 @@ const createWebpackConfig = ({
},
],
},
externals: {
esprima: "esprima",
},
optimization: {
minimizer: [
new TerserPlugin({