Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit 807b18f

Browse files
author
rsavian
committed
Get chunk file names working with code splitting files
1 parent dd1ed09 commit 807b18f

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)