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 37ee259 commit 39643beCopy full SHA for 39643be
packages/angular_devkit/build_angular/src/tools/esbuild/rxjs-esm-resolution-plugin.ts
@@ -39,7 +39,7 @@ export function createRxjsEsmResolutionPlugin(): Plugin {
39
resolveDir,
40
});
41
42
- result.path = result.path.replace('/dist/cjs/', '/dist/esm/');
+ result.path = result.path.replace(/([\\/]dist[\\/])cjs([\\/])/, '$1esm$2');
43
44
return result;
45
0 commit comments