diff --git a/webpack.common.js b/webpack.common.js index 37a271fc..65c22909 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -7,7 +7,8 @@ module.exports = { output: { path: path.resolve(__dirname, './js'), publicPath: '/js/', - filename: 'social.js' + filename: 'social.js', + chunkFilename: '[name].[chunkhash].js' }, module: { rules: [