diff options
| -rw-r--r-- | build/webpack.prod.conf.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index c02f8e86..9699f221 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -58,7 +58,8 @@ var webpackConfig = merge(baseWebpackConfig, { minify: { removeComments: true, collapseWhitespace: true, - removeAttributeQuotes: true + removeAttributeQuotes: true, + ignoreCustomComments: [/server-generated-meta/] // more options: // https://github.com/kangax/html-minifier#options-quick-reference }, |
