默认更新
Showing
1 changed file
with
6 additions
and
5 deletions
... | @@ -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 配置 | ... | ... |
-
Please register or sign in to post a comment