Skip to content

Commit db49080

Browse files
committed
fix: [ext] in asset modules already contains a leading dot
Fixes vuejs#6825
1 parent e40f062 commit db49080

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)