mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: fix payload calculation (#7132)
* Due to the recent changes in the Material package, the payload is no longer calculated correctly. All components have been moved into different bundles instead of a single bundle.
This commit is contained in:
committed by
Jeremy Elbourn
parent
b5d2e0ba9d
commit
90434668bb
@@ -23,8 +23,8 @@ task('payload', ['material:clean-build'], async () => {
|
||||
// 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'),
|
||||
material_fesm_2015: getBundleSize('material.js') + getBundleSize('material/!(*.es5).js'),
|
||||
material_fesm_2014: getBundleSize('material.es5.js') + getBundleSize('material/*.es5.js'),
|
||||
// CDK bundles
|
||||
cdk_umd: getBundleSize('cdk*.umd.js'),
|
||||
cdk_umd_minified_uglify: getBundleSize('cdk*.umd.min.js'),
|
||||
|
||||
Reference in New Issue
Block a user