Skip to content

Commit f0fd375

Browse files
committed
feat: tweak css extraction chunk name
1 parent ff8acd1 commit f0fd375

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/config/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = (api, options) => {
2626
const shouldExtract = isProd && extract !== false && !shadowMode
2727
const extractOptions = Object.assign({
2828
filename: getAssetPath(options, `css/[name].[contenthash:8].css`),
29-
chunkFilename: getAssetPath(options, 'css/[name].[id].[contenthash:8].css')
29+
chunkFilename: getAssetPath(options, 'css/[name].[contenthash:8].css')
3030
}, extract && typeof extract === 'object' ? extract : {})
3131

3232
// check if the project has a valid postcss config

0 commit comments

Comments
 (0)