Update entrypoint- and bundle-size limits

These numbers haven't been updated for some time now due to the many
recent changes in the code. Since we're wrapping things up I guess
it makes sense to have them accurate again.

Change-Id: I73c202a65192e8011acefd664bea7b62b1b556da
This commit is contained in:
WMDE-Fisch 2021-05-07 16:58:16 +02:00
parent 1648eb35ee
commit cb7fd4e4f8
2 changed files with 3 additions and 3 deletions

View file

@ -70,7 +70,7 @@
"bundlesize": [
{
"path": "resources/dist/index.js",
"maxSize": "14.4kB"
"maxSize": "13.9kB"
}
]
}

View file

@ -112,8 +112,8 @@ module.exports = ( env, argv ) => ( {
// Minified uncompressed size limits for chunks / assets and entrypoints. Keep these numbers
// up-to-date and rounded to the nearest 10th of a kibibyte so that code sizing costs are
// well understood. Related to bundlesize minified, gzipped compressed file size tests.
maxAssetSize: 44.2 * 1024,
maxEntrypointSize: 44.2 * 1024,
maxAssetSize: 42.5 * 1024,
maxEntrypointSize: 42.5 * 1024,
// The default filter excludes map files but we rename ours.
assetFilter: ( filename ) => !filename.endsWith( srcMapExt )