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