mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-28 17:35:42 +08:00
Define dev chunk names (#2050)
* Define dev chunk names Fixes #2046 * Add comment
This commit is contained in:
committed by
Dan Abramov
parent
bed9a39c97
commit
3fac03664c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user