Skip to content

Commit

Permalink
Define dev chunk names (#2050)
Browse files Browse the repository at this point in the history
* Define dev chunk names

Fixes #2046

* Add comment
  • Loading branch information
jstcki authored and gaearon committed May 1, 2017
1 parent bed9a39 commit 3fac036
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ module.exports = {
// served by WebpackDevServer in development. This is the JS bundle
// containing code from all our entry points, and the Webpack runtime.
filename: 'static/js/bundle.js',
// There are also additional JS chunk files if you use code splitting.
chunkFilename: 'static/js/[name].chunk.js',
// This is the URL that app is served from. We use "/" in development.
publicPath: publicPath,
// Point sourcemap entries to original disk location
Expand Down

0 comments on commit 3fac036

Please sign in to comment.