Skip to content

Commit 835014a

Browse files
devversiontinayuangao
authored andcommitted
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
1 parent 001001c commit 835014a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/package-tools/build-release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function composeRelease(buildPackage: BuildPackage) {
2727
inlinePackageMetadataFiles(packageOut);
2828

2929
copyFiles(packageOut, '**/*.+(d.ts|metadata.json)', join(releasePath, 'typings'));
30-
copyFiles(bundlesDir, `${packageName}?(-*).umd.js?(.map)`, join(releasePath, 'bundles'));
30+
copyFiles(bundlesDir, `${packageName}?(-*).umd?(.min).js?(.map)`, join(releasePath, 'bundles'));
3131
copyFiles(bundlesDir, `${packageName}?(.es5).js?(.map)`, join(releasePath, '@angular'));
3232
copyFiles(join(bundlesDir, packageName), '**', join(releasePath, '@angular', packageName));
3333
copyFiles(projectDir, 'LICENSE', releasePath);

0 commit comments

Comments
 (0)