Include chunkhash to file names
parent
a424d0adba
commit
9b0dfd0c72
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
output: {
|
||||
publicPath: '/',
|
||||
path: path.resolve(__dirname, '../build'),
|
||||
filename: '[name].dev.js',
|
||||
filename: '[name].[chunkhash].dev.js',
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
|
@ -15,7 +15,7 @@ var config = {
|
|||
output: {
|
||||
publicPath: '/',
|
||||
path: path.resolve(__dirname, '../build'),
|
||||
filename: '[name].js',
|
||||
filename: '[name].[chunkhash].js',
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
|
|
Loading…
Reference in New Issue