Skip to content

Commit a69b38e

Browse files
committed
build: reduced file size limits validation in dist
1 parent fdc7732 commit a69b38e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js/validate-build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const glob = require('glob');
2525

2626
// Size limits for development builds (in MB)
2727
const DEV_MAX_FILE_SIZE_MB = 6;
28-
const DEV_MAX_TOTAL_SIZE_MB = 100;
28+
const DEV_MAX_TOTAL_SIZE_MB = 90;
2929
// Custom size limits for known large files (size in MB) For development builds
3030
const LARGE_FILE_LIST_DEV = {
3131
'dist/thirdparty/no-minify/language-worker.js.map': 10,
@@ -34,7 +34,7 @@ const LARGE_FILE_LIST_DEV = {
3434

3535
// Size limits for production/staging builds (in MB)
3636
const PROD_MAX_FILE_SIZE_MB = 2;
37-
const PROD_MAX_TOTAL_SIZE_MB = 80;
37+
const PROD_MAX_TOTAL_SIZE_MB = 70;
3838
// Custom size limits for known large files (size in MB) For staging/production builds
3939
const LARGE_FILE_LIST_PROD = {
4040
'dist/brackets.js': 9, // this is the full minified file itself renamed in prod

0 commit comments

Comments
 (0)