We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff19e0a commit fbd8edbCopy full SHA for fbd8edb
packages/react-scripts/config/webpack.config.js
@@ -258,7 +258,7 @@ module.exports = function(webpackEnv) {
258
// We placed these paths second because we want `node_modules` to "win"
259
// if there are any conflicts. This matches Node resolution mechanism.
260
// https://github.com/facebook/create-react-app/issues/253
261
- modules: ['node_modules'].concat(
+ modules: ['node_modules', paths.appNodeModules].concat(
262
// It is guaranteed to exist because we tweak it in `env.js`
263
process.env.NODE_PATH.split(path.delimiter).filter(Boolean)
264
),
0 commit comments