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 b8d5c5b commit e1b903bCopy full SHA for e1b903b
packages/@angular/cli/tasks/eject.ts
@@ -279,7 +279,7 @@ class JsonWebpackSerializer {
279
return v;
280
} else if (typeof v == 'string') {
281
if (v === path.join(this._root, 'node_modules')) {
282
- return this._serializeRegExp(/\/node_modules\//);
+ return this._relativePath('process.cwd()', 'node_modules');
283
}
284
return this._relativePath('process.cwd()', path.relative(this._root, v));
285
} else {
0 commit comments