File tree 2 files changed +2
-2
lines changed
packages/react-scripts/config
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ module.exports = {
79
79
// We placed these paths second because we want `node_modules` to "win"
80
80
// if there are any conflicts. This matches Node resolution mechanism.
81
81
// https://github.com/facebookincubator/create-react-app/issues/253
82
- modules : [ 'node_modules' ] . concat ( paths . nodePaths ) ,
82
+ modules : [ 'node_modules' , paths . appNodeModules ] . concat ( paths . nodePaths ) ,
83
83
// These are the reasonable defaults supported by the Node ecosystem.
84
84
// We also include JSX as a common component filename extension to support
85
85
// some tools, although we do not recommend using it, see:
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ module.exports = {
78
78
// We placed these paths second because we want `node_modules` to "win"
79
79
// if there are any conflicts. This matches Node resolution mechanism.
80
80
// https://github.com/facebookincubator/create-react-app/issues/253
81
- modules : [ 'node_modules' ] . concat ( paths . nodePaths ) ,
81
+ modules : [ 'node_modules' , paths . appNodeModules ] . concat ( paths . nodePaths ) ,
82
82
// These are the reasonable defaults supported by the Node ecosystem.
83
83
// We also include JSX as a common component filename extension to support
84
84
// some tools, although we do not recommend using it, see:
You can’t perform that action at this time.
0 commit comments