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 2730fe0 commit b8218e1Copy full SHA for b8218e1
tools/package-tools/build-bundles.ts
@@ -147,7 +147,7 @@ export class PackageBundler {
147
// secondary entry-points from the rollup globals because we want the UMD for this package
148
// to include *all* of the sources for those entry-points.
149
if (this.buildPackage.exportsSecondaryEntryPointsAtRoot) {
150
- const importRegex = new RegExp(`@angular/${this.buildPackage.name}/.+`, 'g');
+ const importRegex = new RegExp(`@angular/${this.buildPackage.name}/.+`);
151
external = external.filter(e => !importRegex.test(e));
152
153
// Use the rollup-alias plugin to map imports of the form `@angular/material/button`
0 commit comments