mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2025-01-08 04:04:11 +00:00
Clean up bundlesize config
This follows up the parent change, where I think I misunderstood the bundlesize configs. The configs in bundlesize.config.json and package.json are separate, and the latter became unused by kicking out npm bundlesize; but I think that can be addressed by merging it into the former. The size has to be a bit larger to pass CI – I assume because it now includes styles, messages, and types.json as well. Bug: T382192 Bug: T360590 Change-Id: I91dcf50e3ea7d4dcb68189b63a1a0d60368dccf9
This commit is contained in:
parent
300e32b4d8
commit
7f3224b619
|
@ -2,5 +2,9 @@
|
|||
{
|
||||
"resourceModule": "ext.popups",
|
||||
"maxSize": "0.4 kB"
|
||||
},
|
||||
{
|
||||
"resourceModule": "ext.popups.main",
|
||||
"maxSize": "20.0 kB"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -65,11 +65,5 @@
|
|||
"wdio-mediawiki": "2.3.0",
|
||||
"webpack": "5.89.0",
|
||||
"webpack-cli": "5.1.4"
|
||||
},
|
||||
"bundlesize": [
|
||||
{
|
||||
"path": "resources/dist/index.js",
|
||||
"maxSize": "13.5kB"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue