mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: payload tracking for cdk (#4461)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user