Skip to content

Commit 3e612c7

Browse files
committed
Define dev chunk names
Fixes facebook#2046
1 parent bed9a39 commit 3e612c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-scripts/config/webpack.config.dev.js

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module.exports = {
7171
// served by WebpackDevServer in development. This is the JS bundle
7272
// containing code from all our entry points, and the Webpack runtime.
7373
filename: 'static/js/bundle.js',
74+
chunkFilename: 'static/js/[name].chunk.js',
7475
// This is the URL that app is served from. We use "/" in development.
7576
publicPath: publicPath,
7677
// Point sourcemap entries to original disk location

0 commit comments

Comments
 (0)