Skip to content

Commit

Permalink
build: missing minified umd bundles in releases (#6809)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
devversion authored and tinayuangao committed Sep 6, 2017
1 parent 001001c commit 835014a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/package-tools/build-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 835014a

Please sign in to comment.