45cb2495 by chenyunhao

默认更新

1 parent ef049ff0
......@@ -53,11 +53,12 @@ module.exports = {
}
}
})
config.plugin('extract-css').tap(() => [{
filename: `static/css/[name].${Timestamp}.css`,
chunkFilename: `static/css/[name].${Timestamp}.css`
}])
config.when(process.env.NODE_ENV !== 'development', config => {
config.plugin('extract-css').tap(() => [{
filename: `static/css/[name].${Timestamp}.css`,
chunkFilename: `static/css/[name].${Timestamp}.css`
}])
})
},
configureWebpack: { // webpack 配置
......