Skip to content

Commit 76f1f9f

Browse files
committed
chore(build): tighten up code size check now that regression is fixed
Our code size SLA is 100kb gzipped and 300kb minified. Our target is 10kb gzipped. We are currently under 90kb gzipped. Let's keep it that way while looking for ways to improve the situation further. We're not <300kb minified yet, so we should be stricter here too. Closes angular#5896
1 parent c47d85b commit 76f1f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ gulp.task('test.unit.dart', function(done) {
638638
// This test will fail if the size of our hello_world app goes beyond one of
639639
// these values when compressed at the specified level.
640640
// Measure in bytes.
641-
var _DART_PAYLOAD_SIZE_LIMITS = {'uncompressed': 375 * 1024, 'gzip level=6': 105 * 1024};
641+
var _DART_PAYLOAD_SIZE_LIMITS = {'uncompressed': 320 * 1024, 'gzip level=6': 90 * 1024};
642642
gulp.task('test.payload.dart/ci', function(done) {
643643
runSequence('build/packages.dart', '!pubget.payload.dart', '!pubbuild.payload.dart',
644644
'!checkAndReport.payload.dart', done);

0 commit comments

Comments
 (0)