mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
feat: add chunkFile name with contenthash
This commit is contained in:
@@ -28,6 +28,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
filename: '[name].min.js',
|
filename: '[name].min.js',
|
||||||
|
chunkFilename: '[name].[contenthash].js',
|
||||||
path: path.resolve(__dirname, 'build/webpack'),
|
path: path.resolve(__dirname, 'build/webpack'),
|
||||||
publicPath: `${relativePath}/assets/`,
|
publicPath: `${relativePath}/assets/`,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user