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:
Paul Gschwendtner
2017-09-15 17:36:36 +02:00
committed by mmalerba
parent 34b5620aa3
commit 5ec538eeeb
+1 -1
View File
@@ -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});
}