Don't minify index.html
This commit is contained in:
parent
a5d4b0c0d5
commit
c5c8bb366a
@ -2,6 +2,11 @@ module.exports = {
|
|||||||
publicPath: '',
|
publicPath: '',
|
||||||
|
|
||||||
chainWebpack: config => {
|
chainWebpack: config => {
|
||||||
|
config.plugin('html')
|
||||||
|
.tap(args => {
|
||||||
|
args[0].minify = false
|
||||||
|
return args
|
||||||
|
})
|
||||||
config.module
|
config.module
|
||||||
.rule('svg-sprite')
|
.rule('svg-sprite')
|
||||||
.use('svgo-loader')
|
.use('svgo-loader')
|
||||||
|
Loading…
Reference in New Issue
Block a user