mirror of
https://git.youjo.love/youjo/youjo-fe.git
synced 2024-11-20 05:49:54 +01:00
Prevent html-minifier to remove placeholder comment in index.html template
This commit is contained in:
parent
107596339c
commit
c5042c07ef
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue