mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
tinayuangao
parent
2cf19a3a85
commit
085b45995a
@@ -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`);
|
||||
|
||||
Reference in New Issue
Block a user