Commit 3fac0366 authored by Jeremy Stucki's avatar Jeremy Stucki Committed by Dan Abramov
Browse files

Define dev chunk names (#2050)

* Define dev chunk names

Fixes #2046

* Add comment
parent bed9a39c
Showing with 2 additions and 0 deletions
+2 -0
...@@ -71,6 +71,8 @@ module.exports = { ...@@ -71,6 +71,8 @@ module.exports = {
// served by WebpackDevServer in development. This is the JS bundle // served by WebpackDevServer in development. This is the JS bundle
// containing code from all our entry points, and the Webpack runtime. // containing code from all our entry points, and the Webpack runtime.
filename: 'static/js/bundle.js', 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. // This is the URL that app is served from. We use "/" in development.
publicPath: publicPath, publicPath: publicPath,
// Point sourcemap entries to original disk location // Point sourcemap entries to original disk location
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment