feat: add chunkFile name with contenthash

This commit is contained in:
Barış Soner Uşaklı
2022-02-22 16:37:40 -05:00
parent 54091c818c
commit e190ff875a

View File

@@ -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/`,
}, },