File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ module.exports = {
7979 // We placed these paths second because we want `node_modules` to "win"
8080 // if there are any conflicts. This matches Node resolution mechanism.
8181 // 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 ) ,
8383 // These are the reasonable defaults supported by the Node ecosystem.
8484 // We also include JSX as a common component filename extension to support
8585 // 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 = {
7878 // We placed these paths second because we want `node_modules` to "win"
7979 // if there are any conflicts. This matches Node resolution mechanism.
8080 // 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 ) ,
8282 // These are the reasonable defaults supported by the Node ecosystem.
8383 // We also include JSX as a common component filename extension to support
8484 // some tools, although we do not recommend using it, see:
You can’t perform that action at this time.
0 commit comments