We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfbc71c commit ab9ea7aCopy full SHA for ab9ea7a
packages/react-scripts/config/webpack.config.prod.js
@@ -312,6 +312,10 @@ module.exports = {
312
}),
313
// Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
314
new ExtractTextPlugin({
315
+ // Turning this on because we want all css to be included in the main
316
+ // css bundle when doing code splitting to avoid FOUC:
317
+ // https://github.com/facebook/create-react-app/issues/2415
318
+ allChunks: true,
319
filename: cssFilename,
320
321
// Generate a manifest file which contains a mapping of all asset filenames
0 commit comments