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 542f2bd commit 6cfa7c3Copy full SHA for 6cfa7c3
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._relativePath('process.cwd()', 'node_modules');
+ return this._serializeRegExp(/(\\|\/)node_modules(\\|\/)/);
291
}
292
return this._relativePath('process.cwd()', path.relative(this._root, v));
293
} else {
0 commit comments