LiveAtlas/vue.config.js
2020-12-17 13:49:25 +00:00

26 lines
474 B
JavaScript

module.exports = {
publicPath: '',
assetsDir: 'live-atlas',
pluginOptions: {
svgSprite: {
loaderOptions: {
extract: true,
spriteFilename: 'live-atlas/img/icons.[hash:8].svg'
},
}
},
chainWebpack: config => {
config.plugin('html')
.tap(args => {
args[0].minify = false
return args
})
config.module
.rule('svg-sprite')
.use('svgo-loader')
.loader('svgo-loader')
}
}