Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit 33fba0d

Browse files
author
rsavian
committed
add chunkFilename to webpack
1 parent 700e0eb commit 33fba0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const config = {
3636

3737
output: {
3838
path: path.join(__dirname, 'dist/public/'),
39+
chunkFilename: 'assets/scripts/[name].[chunkhash].js',
3940
filename: isDevelopment
4041
? 'main.js'
4142
: 'assets/scripts/[name].[chunkhash].js',

0 commit comments

Comments
 (0)