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 e1b903b commit a28048aCopy full SHA for a28048a
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._relativePath('process.cwd()', 'node_modules');
+ return this._serializeRegExp(/(\\|\/)node_modules(\\|\/)/);
283
}
284
return this._relativePath('process.cwd()', path.relative(this._root, v));
285
} else {
0 commit comments