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:
Lucas Werkmeister 2024-12-16 11:09:26 +01:00
parent 300e32b4d8
commit 7f3224b619
2 changed files with 5 additions and 7 deletions

View file

@ -2,5 +2,9 @@
{
"resourceModule": "ext.popups",
"maxSize": "0.4 kB"
},
{
"resourceModule": "ext.popups.main",
"maxSize": "20.0 kB"
}
]

View file

@ -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"
}
]
}
}