Skip to content

Commit 5d6b9d3

Browse files
authored
fix: [ext] in asset modules already contains a leading dot (#6826)
1 parent 2c4fe3a commit 5d6b9d3

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/assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = (api, options) => {
55
const genAssetSubPath = dir => {
66
return getAssetPath(
77
options,
8-
`${dir}/[name]${options.filenameHashing ? '.[hash:8]' : ''}.[ext]`
8+
`${dir}/[name]${options.filenameHashing ? '.[hash:8]' : ''}[ext]`
99
)
1010
}
1111

0 commit comments

Comments
 (0)