We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc328d6 commit 10e8fd5Copy full SHA for 10e8fd5
packages/react-scripts/config/paths.js
@@ -140,9 +140,6 @@ const getMonorepoPkgPaths = () => {
140
if (monoPkgPath) {
141
// get monorepo config from yarn workspace
142
const pkgPatterns = require(monoPkgPath).workspaces;
143
- if (pkgPatterns == null) {
144
- return [];
145
- }
146
const pkgPaths = findPkgs(path.dirname(monoPkgPath), pkgPatterns);
147
// only include monorepo pkgs if app itself is included in monorepo
148
if (pkgPaths.indexOf(appDirectory) !== -1) {
0 commit comments