File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ module.exports = {
66
66
appIndexJs : resolveApp ( 'src/index.js' ) ,
67
67
asiagoPath : asiagoDirectory ,
68
68
asiagoNodeModules : asiagoNodeModules ,
69
+ ownNodeModules : resolveOwn ( '../node_modules' ) ,
69
70
appPackageJson : resolveApp ( 'package.json' ) ,
70
71
appSrc : resolveApp ( 'src' ) ,
71
72
appPath : appDirectory ,
Original file line number Diff line number Diff line change @@ -113,10 +113,11 @@ module.exports = {
113
113
// if there are any conflicts. This matches Node resolution mechanism.
114
114
// https://github.com/facebookincubator/create-react-app/issues/253
115
115
modules : [
116
- paths . appPath ,
117
- path . resolve ( paths . asiagoPath ) ,
118
- paths . asiagoNodeModules ,
119
116
'node_modules' ,
117
+ paths . appNodeModules ,
118
+ paths . asiagoNodeModules ,
119
+ paths . appPath ,
120
+ paths . asiagoPath ,
120
121
] . concat (
121
122
// It is guaranteed to exist because we tweak it in `env.js`
122
123
process . env . NODE_PATH . split ( path . delimiter ) . filter ( Boolean )
You can’t perform that action at this time.
0 commit comments