Skip to content

Commit

Permalink
feat: tweak css extraction chunk name
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 28, 2018
1 parent ff8acd1 commit f0fd375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = (api, options) => {
const shouldExtract = isProd && extract !== false && !shadowMode
const extractOptions = Object.assign({
filename: getAssetPath(options, `css/[name].[contenthash:8].css`),
chunkFilename: getAssetPath(options, 'css/[name].[id].[contenthash:8].css')
chunkFilename: getAssetPath(options, 'css/[name].[contenthash:8].css')
}, extract && typeof extract === 'object' ? extract : {})

// check if the project has a valid postcss config
Expand Down

0 comments on commit f0fd375

Please sign in to comment.