mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-13 17:56:55 +00:00
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:
parent
1648eb35ee
commit
cb7fd4e4f8
|
@ -70,7 +70,7 @@
|
||||||
"bundlesize": [
|
"bundlesize": [
|
||||||
{
|
{
|
||||||
"path": "resources/dist/index.js",
|
"path": "resources/dist/index.js",
|
||||||
"maxSize": "14.4kB"
|
"maxSize": "13.9kB"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,8 +112,8 @@ module.exports = ( env, argv ) => ( {
|
||||||
// Minified uncompressed size limits for chunks / assets and entrypoints. Keep these numbers
|
// 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
|
// 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.
|
// well understood. Related to bundlesize minified, gzipped compressed file size tests.
|
||||||
maxAssetSize: 44.2 * 1024,
|
maxAssetSize: 42.5 * 1024,
|
||||||
maxEntrypointSize: 44.2 * 1024,
|
maxEntrypointSize: 42.5 * 1024,
|
||||||
|
|
||||||
// The default filter excludes map files but we rename ours.
|
// The default filter excludes map files but we rename ours.
|
||||||
assetFilter: ( filename ) => !filename.endsWith( srcMapExt )
|
assetFilter: ( filename ) => !filename.endsWith( srcMapExt )
|
||||||
|
|
Loading…
Reference in a new issue