Skip to content

Commit 5ec538e

Browse files
devversionmmalerba
authored andcommitted
build: fix umd bundles build task (#7102)
Currently when trying to serve the devapp, the `build-bundles` task seems to be broken. Rollup is not able to properly read the source files from the disk because the `.js` file extension is missing.
1 parent 34b5620 commit 5ec538e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/package-tools/build-bundles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export class PackageBundler {
172172
private getResolvedSecondaryEntryPointImportPaths(bundleOutputDir: string) {
173173
return this.buildPackage.secondaryEntryPoints.reduce((map, p) => {
174174
map[`@angular/${this.buildPackage.name}/${p}`] =
175-
join(dirname(bundleOutputDir), 'material', `${p}.es5`);
175+
join(dirname(bundleOutputDir), this.buildPackage.name, `${p}.es5.js`);
176176
return map;
177177
}, {} as {[key: string]: string});
178178
}

0 commit comments

Comments
 (0)