Skip to content

Commit

Permalink
Fix react-scripts peer dependencies link local issue (#6579) (#6580)
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit authored and iansu committed Apr 16, 2019
1 parent fdbb550 commit 50c1884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ module.exports = function(webpackEnv) {
// We placed these paths second because we want `node_modules` to "win"
// if there are any conflicts. This matches Node resolution mechanism.
// https://github.com/facebook/create-react-app/issues/253
modules: ['node_modules'].concat(
modules: ['node_modules', paths.appNodeModules].concat(
// It is guaranteed to exist because we tweak it in `env.js`
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
),
Expand Down

0 comments on commit 50c1884

Please sign in to comment.