We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30963bc commit 9d4b466Copy full SHA for 9d4b466
script/bundle-size-report
@@ -33,10 +33,10 @@ bundles = bundles.filter(bundle => !isSupportBundleName(bundle.name))
33
if (ONLY_BUNDLES) {
34
const only = new Set(ONLY_BUNDLES.trim().split(/\s*,\s*/))
35
bundles = bundles.filter(bundle => only.has(bundle.name))
36
-} else if (META_BUNDLES) {
37
- bundles = bundles.filter(isMetaBundle)
38
} else if (!ALL_BUNDLES) {
39
- bundles = bundles.filter(bundle => !isMetaBundle(bundle))
+ bundles = META_BUNDLES
+ ? bundles.filter(isMetaBundle)
+ : bundles.filter(bundle => !isMetaBundle(bundle))
40
}
41
42
Promise.all(
0 commit comments