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 6fb31d7 commit 4b7c4fbCopy full SHA for 4b7c4fb
packages/react-scripts/config/yarn-workspaces.js
@@ -161,17 +161,6 @@ const getDeps = pkg => {
161
162
const depsTable = {};
163
164
-const filterDeps = deps =>
165
- Reflect.ownKeys(deps).filter(dep => Reflect.has(depsTable, dep));
166
-
167
-const filterDepsTable = () => {
168
- Reflect.ownKeys(depsTable).forEach(depName => {
169
- const depsList = depsTable[depName].deps;
170
- const workspacesOnlyDeps = filterDeps(depsList);
171
- depsTable[depName].deps = workspacesOnlyDeps;
172
- });
173
-};
174
175
const buildDepsTable = srcPaths => {
176
srcPaths.forEach(path => {
177
const pkg = getPkg(path);
0 commit comments