Skip to content

build: payload tracking for cdk #4461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions tools/gulp/tasks/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ const bundlesDir = join(DIST_ROOT, 'bundles');
task('payload', ['material:clean-build'], () => {

let results = {
umd_kb: getBundleSize('material.umd.js'),
umd_minified_uglify_kb: getBundleSize('material.umd.min.js'),
fesm_2015: getBundleSize('material.js'),
fesm_2014: getBundleSize('material.es5.js'),
timestamp: Date.now()
timestamp: Date.now(),
// Material bundles
material_umd: getBundleSize('material.umd.js'),
material_umd_minified_uglify: getBundleSize('material.umd.min.js'),
material_fesm_2015: getBundleSize('material.js'),
material_fesm_2014: getBundleSize('material.es5.js'),
// CDK bundles
cdk_umd: getBundleSize('cdk.umd.js'),
cdk_umd_minified_uglify: getBundleSize('cdk.umd.min.js'),
cdk_fesm_2015: getBundleSize('cdk.js'),
cdk_fesm_2014: getBundleSize('cdk.es5.js'),
};

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