Skip to content

Commit

Permalink
fix: [ext] in asset modules already contains a leading dot (#6826)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Nov 15, 2021
1 parent 2c4fe3a commit 5d6b9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/assets.js
Expand Up @@ -5,7 +5,7 @@ module.exports = (api, options) => {
const genAssetSubPath = dir => {
return getAssetPath(
options,
`${dir}/[name]${options.filenameHashing ? '.[hash:8]' : ''}.[ext]`
`${dir}/[name]${options.filenameHashing ? '.[hash:8]' : ''}[ext]`
)
}

Expand Down

0 comments on commit 5d6b9d3

Please sign in to comment.