We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f07efe commit 1ecd0b3Copy full SHA for 1ecd0b3
packages/react-scripts/config/webpack.config.prod.js
@@ -86,7 +86,7 @@ module.exports = {
86
// We placed these paths second because we want `node_modules` to "win"
87
// if there are any conflicts. This matches Node resolution mechanism.
88
// https://github.com/facebookincubator/create-react-app/issues/253
89
- modules: [paths.appNodeModules].concat(paths.nodePaths),
+ modules: ['node_modules', paths.appNodeModules].concat(paths.nodePaths),
90
// These are the reasonable defaults supported by the Node ecosystem.
91
// We also include JSX as a common component filename extension to support
92
// some tools, although we do not recommend using it, see:
0 commit comments