Skip to content

Commit

Permalink
采用 [chunkhash].bundle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangxuan committed Oct 23, 2019
1 parent d0319a8 commit ded87c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frondend/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ console.log(`webpack.prod.config.js 当前发布静态资源的环境为: DEPLO
const webpackDevConfig = {
devtool: 'source-map',
output: {
publicPath
publicPath,
filename: '[chunkhash].bundle.js'
},
mode: 'production',
module: {
Expand Down

0 comments on commit ded87c7

Please sign in to comment.