Skip to content

Commit 83bcf0e

Browse files
committed
docs(guides): contenthash => chunkhash in caching
Correct this error in `output` configuration. Fixes #1512
1 parent 40bf91d commit 83bcf0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/guides/caching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ __webpack.config.js__
192192
})
193193
],
194194
output: {
195-
filename: '[name].[contenthash].js',
195+
filename: '[name].[chunkhash].js',
196196
path: path.resolve(__dirname, 'dist')
197197
}
198198
};
@@ -319,7 +319,7 @@ __webpack.config.js__
319319
})
320320
],
321321
output: {
322-
filename: '[name].[contenthash].js',
322+
filename: '[name].[chunkhash].js',
323323
path: path.resolve(__dirname, 'dist')
324324
}
325325
};

0 commit comments

Comments
 (0)