Skip to content

Commit 085b459

Browse files
devversiontinayuangao
authored andcommitted
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`.
1 parent 2cf19a3 commit 085b459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gulp/util/package-build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function composeRelease(packageName: string) {
4343

4444
/** Builds the bundles for the specified package. */
4545
export async function buildPackageBundles(entryFile: string, packageName: string) {
46-
let moduleName = `ng.material.${packageName}`;
46+
let moduleName = `ng.${packageName}`;
4747

4848
// List of paths to the package bundles.
4949
let fesm2015File = join(DIST_BUNDLES, `${packageName}.js`);

0 commit comments

Comments
 (0)