Define dev chunk names (#2050)

* Define dev chunk names

Fixes #2046

* Add comment
This commit is contained in:
Jeremy Stucki
2017-05-01 14:01:37 +02:00
committed by Dan Abramov
parent bed9a39c97
commit 3fac03664c

View File

@@ -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