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: {
|
||||
filename: '[name].min.js',
|
||||
chunkFilename: '[name].[contenthash].js',
|
||||
path: path.resolve(__dirname, 'build/webpack'),
|
||||
publicPath: `${relativePath}/assets/`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user