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`.
This commit is contained in:
Paul Gschwendtner
2017-05-22 20:28:37 +02:00
committed by tinayuangao
parent 2cf19a3a85
commit 085b45995a
+1 -1
View File
@@ -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`);