45cb2495 by chenyunhao

默认更新

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