Skip to content

Commit

Permalink
fix: add name to chunk file output (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitnevgi authored and yyx990803 committed Apr 25, 2018
1 parent e43fea1 commit 1fc9593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = (api, options) => {
.devtool('source-map')
.output
.filename(`js/[name].[chunkhash:8].js`)
.chunkFilename(`js/[id].[chunkhash:8].js`)
.chunkFilename(`js/[name].[id].[chunkhash:8].js`)

// keep module.id stable when vendor modules does not change
webpackConfig
Expand Down

0 comments on commit 1fc9593

Please sign in to comment.