Skip to content

Commit 2c65117

Browse files
devversionkara
authored andcommitted
build: payload tracking for cdk (#4461)
1 parent 5e349d9 commit 2c65117

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

tools/gulp/tasks/payload.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ const bundlesDir = join(DIST_ROOT, 'bundles');
1212
task('payload', ['material:clean-build'], () => {
1313

1414
let results = {
15-
umd_kb: getBundleSize('material.umd.js'),
16-
umd_minified_uglify_kb: getBundleSize('material.umd.min.js'),
17-
fesm_2015: getBundleSize('material.js'),
18-
fesm_2014: getBundleSize('material.es5.js'),
19-
timestamp: Date.now()
15+
timestamp: Date.now(),
16+
// Material bundles
17+
material_umd: getBundleSize('material.umd.js'),
18+
material_umd_minified_uglify: getBundleSize('material.umd.min.js'),
19+
material_fesm_2015: getBundleSize('material.js'),
20+
material_fesm_2014: getBundleSize('material.es5.js'),
21+
// CDK bundles
22+
cdk_umd: getBundleSize('cdk.umd.js'),
23+
cdk_umd_minified_uglify: getBundleSize('cdk.umd.min.js'),
24+
cdk_fesm_2015: getBundleSize('cdk.js'),
25+
cdk_fesm_2014: getBundleSize('cdk.es5.js'),
2026
};
2127

2228
// Print the results to the console, so we can read it from the CI.

0 commit comments

Comments
 (0)