mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
Up the max asset and entry point sizes
40kb seems a good time to pause and reflect on the total size. The current maximum is impossible to meet without no further changes to the code. 12kb is also more flexible than 11.5 Change-Id: I5ee8c236d90542afacc0e8de513a45a15ccd529b
This commit is contained in:
parent
1acd15adb1
commit
bb2ad2ed38
|
@ -41,7 +41,7 @@
|
|||
"bundlesize": [
|
||||
{
|
||||
"path": "resources/dist/index.js",
|
||||
"maxSize": "11.5KB"
|
||||
"maxSize": "12KB"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -32,8 +32,8 @@ conf = {
|
|||
entry: { index: './src' },
|
||||
performance: {
|
||||
hints: isProduction ? 'error' : false,
|
||||
maxAssetSize: 35.3 * 1024,
|
||||
maxEntrypointSize: 35.3 * 1024,
|
||||
maxAssetSize: 40 * 1024,
|
||||
maxEntrypointSize: 40 * 1024,
|
||||
assetFilter: function ( filename ) {
|
||||
// The default filter excludes map files but we rename ours to .filename.
|
||||
return filename.endsWith( '.js' );
|
||||
|
|
Loading…
Reference in a new issue