We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b984ee4 commit 33cf366Copy full SHA for 33cf366
packages/react-scripts/config/webpack.config.js
@@ -180,7 +180,9 @@ module.exports = function(webpackEnv) {
180
// In development, it does not produce real files.
181
filename: isEnvProduction
182
? 'static/js/[name].[contenthash:8].js'
183
- : isEnvDevelopment && 'static/js/bundle.js',
+ : // error Error: Conflict: Multiple chunks emit assets to the same filename static/js/bundle.js
184
+ // (chunks main and vendors-node_modules_chalk_index_js-node_modules_css-loader_dist_runtime_api_js-node_modules_-5ede04)
185
+ isEnvDevelopment && 'static/js/[name].js',
186
// Webpack 5 Change: removal of `futureEmitAssets` which is the default in Webpack 5.
187
// See https://github.com/facebook/create-react-app/pull/6696#issue-263094759
188
// futureEmitAssets: true,
0 commit comments