From 4c82c2e60f2d5119ed1caa8dcd10870c6aaa7b21 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 19 May 2017 18:03:50 +0200 Subject: [PATCH] build: fix umd module names * 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 e7693b6a792a..c60652ed4f0a 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`);