From 5ec538eeebb0883df5e2a60dceb556dd15b5f95f Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 15 Sep 2017 17:36:36 +0200 Subject: [PATCH] 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. --- tools/package-tools/build-bundles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/package-tools/build-bundles.ts b/tools/package-tools/build-bundles.ts index 2278a3fd334..8fd0ea387f5 100644 --- a/tools/package-tools/build-bundles.ts +++ b/tools/package-tools/build-bundles.ts @@ -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}); }