diff --git a/bundlesize.config.json b/bundlesize.config.json index 5e5d4c5c4..984f294bf 100644 --- a/bundlesize.config.json +++ b/bundlesize.config.json @@ -2,5 +2,9 @@ { "resourceModule": "ext.popups", "maxSize": "0.4 kB" + }, + { + "resourceModule": "ext.popups.main", + "maxSize": "20.0 kB" } ] diff --git a/package.json b/package.json index c1cf23f7e..a2d10c7a6 100644 --- a/package.json +++ b/package.json @@ -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" - } - ] + } }