Skip to content

Commit 50c1884

Browse files
transitive-bullshitiansu
authored andcommitted
Fix react-scripts peer dependencies link local issue (#6579) (#6580)
1 parent fdbb550 commit 50c1884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/config/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ module.exports = function(webpackEnv) {
268268
// We placed these paths second because we want `node_modules` to "win"
269269
// if there are any conflicts. This matches Node resolution mechanism.
270270
// https://github.com/facebook/create-react-app/issues/253
271-
modules: ['node_modules'].concat(
271+
modules: ['node_modules', paths.appNodeModules].concat(
272272
// It is guaranteed to exist because we tweak it in `env.js`
273273
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
274274
),

0 commit comments

Comments
 (0)