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 ca98b2b commit 542f2bdCopy full SHA for 542f2bd
packages/@angular/cli/tasks/eject.ts
@@ -287,7 +287,7 @@ class JsonWebpackSerializer {
287
return v;
288
} else if (typeof v == 'string') {
289
if (v === path.join(this._root, 'node_modules')) {
290
- return this._serializeRegExp(/\/node_modules\//);
+ return this._relativePath('process.cwd()', 'node_modules');
291
}
292
return this._relativePath('process.cwd()', path.relative(this._root, v));
293
} else {
0 commit comments