mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
mmalerba
parent
34b5620aa3
commit
5ec538eeeb
@@ -172,7 +172,7 @@ export class PackageBundler {
|
||||
private getResolvedSecondaryEntryPointImportPaths(bundleOutputDir: string) {
|
||||
return this.buildPackage.secondaryEntryPoints.reduce((map, p) => {
|
||||
map[`@angular/${this.buildPackage.name}/${p}`] =
|
||||
join(dirname(bundleOutputDir), 'material', `${p}.es5`);
|
||||
join(dirname(bundleOutputDir), this.buildPackage.name, `${p}.es5.js`);
|
||||
return map;
|
||||
}, {} as {[key: string]: string});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user