From 085b45995a4e7ac9ffaef4c74a93da3b82c12845 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 22 May 2017 20:28:37 +0200 Subject: [PATCH] build: fix umd module names (#4683) * Fixes that the UMD module names are invalid. Currently they look like `ng.material.material` while it should be just `ng.material`. --- tools/gulp/util/package-build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gulp/util/package-build.ts b/tools/gulp/util/package-build.ts index e7693b6a792..c60652ed4f0 100644 --- a/tools/gulp/util/package-build.ts +++ b/tools/gulp/util/package-build.ts @@ -43,7 +43,7 @@ export function composeRelease(packageName: string) { /** Builds the bundles for the specified package. */ export async function buildPackageBundles(entryFile: string, packageName: string) { - let moduleName = `ng.material.${packageName}`; + let moduleName = `ng.${packageName}`; // List of paths to the package bundles. let fesm2015File = join(DIST_BUNDLES, `${packageName}.js`);