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