We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 486d097 commit ae19c65Copy full SHA for ae19c65
packages/react-scripts/config/webpack.config.dev.js
@@ -249,6 +249,8 @@ module.exports = {
249
inject: true,
250
template: paths.appHtml,
251
}),
252
+ // Add module names to factory functions so they appear in browser profiler.
253
+ new webpack.NamedModulesPlugin(),
254
// Makes some environment variables available to the JS code, for example:
255
// if (process.env.NODE_ENV === 'development') { ... }. See `./env.js`.
256
new webpack.DefinePlugin(env.stringified),
0 commit comments