mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: missing minified umd bundles in releases (#6809)
With the recent change of the CDK entry points the copy glob in `build-release.ts` has been updated accidentally to no longer include the ".umd.min.js" files. Fixes #6796
This commit is contained in:
committed by
tinayuangao
parent
001001cb37
commit
835014a709
@@ -27,7 +27,7 @@ export function composeRelease(buildPackage: BuildPackage) {
|
||||
inlinePackageMetadataFiles(packageOut);
|
||||
|
||||
copyFiles(packageOut, '**/*.+(d.ts|metadata.json)', join(releasePath, 'typings'));
|
||||
copyFiles(bundlesDir, `${packageName}?(-*).umd.js?(.map)`, join(releasePath, 'bundles'));
|
||||
copyFiles(bundlesDir, `${packageName}?(-*).umd?(.min).js?(.map)`, join(releasePath, 'bundles'));
|
||||
copyFiles(bundlesDir, `${packageName}?(.es5).js?(.map)`, join(releasePath, '@angular'));
|
||||
copyFiles(join(bundlesDir, packageName), '**', join(releasePath, '@angular', packageName));
|
||||
copyFiles(projectDir, 'LICENSE', releasePath);
|
||||
|
||||
Reference in New Issue
Block a user