Skip to content

Commit

Permalink
docs: maybe fix memory leak
Browse files Browse the repository at this point in the history
[chunkhash] might cause gc problems:
webpack/webpack#1914

see also webpack/webpack#6929
  • Loading branch information
KaelWD committed Jul 21, 2019
1 parent a41612d commit e93297a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docs/build/webpack.base.config.js
Expand Up @@ -24,8 +24,8 @@ module.exports = {
output: {
path: resolve('../dist'),
publicPath: '/dist/',
filename: '[name].[chunkhash].js',
chunkFilename: '[name].[chunkhash].js'
filename: isProd ? '[name].[chunkhash].js' : '[name].js',
chunkFilename: isProd ? '[name].[chunkhash].js' : '[name].js'
},
resolve: {
extensions: ['*', '.js', '.json', '.vue'],
Expand Down

0 comments on commit e93297a

Please sign in to comment.