We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdbb550 commit 50c1884Copy full SHA for 50c1884
packages/react-scripts/config/webpack.config.js
@@ -268,7 +268,7 @@ module.exports = function(webpackEnv) {
268
// We placed these paths second because we want `node_modules` to "win"
269
// if there are any conflicts. This matches Node resolution mechanism.
270
// https://github.com/facebook/create-react-app/issues/253
271
- modules: ['node_modules'].concat(
+ modules: ['node_modules', paths.appNodeModules].concat(
272
// It is guaranteed to exist because we tweak it in `env.js`
273
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
274
),
0 commit comments