Skip to content

Commit 3fac036

Browse files
jstckigaearon
authored andcommitted
Define dev chunk names (#2050)
* Define dev chunk names Fixes #2046 * Add comment
1 parent bed9a39 commit 3fac036

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ 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+
// There are also additional JS chunk files if you use code splitting.
75+
chunkFilename: 'static/js/[name].chunk.js',
7476
// This is the URL that app is served from. We use "/" in development.
7577
publicPath: publicPath,
7678
// Point sourcemap entries to original disk location

0 commit comments

Comments
 (0)