Skip to content

Commit

Permalink
hash
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxb committed Nov 29, 2016
1 parent cd76472 commit 155ce49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
output: {
publicPath: config.publicPath, //服务器的路径
path: path.resolve(__dirname + config.publicPath), //编译到app目录
filename: '[name].js' //编译后的文件名
filename: '[name].js?[hash]' //编译后的文件名
},
module: {
loaders: [
Expand Down

0 comments on commit 155ce49

Please sign in to comment.