From 77b3ab8683cdfc929cd24342ad642119501713d0 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 28 Nov 2024 10:39:42 +0800 Subject: [PATCH] [v3.8.5] Package size check needs to ignore exports/vendor.ts (#17979) --- .github/workflows/package-size-check.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-size-check.js b/.github/workflows/package-size-check.js index ea58509b211..8f30f2e8099 100644 --- a/.github/workflows/package-size-check.js +++ b/.github/workflows/package-size-check.js @@ -11,7 +11,9 @@ const features = []; files.forEach(file => { const filePath = ps.join(exportsDir, file); const feature = ps.parse(ps.basename(filePath)).name; - features.push(feature); + if (feature !== 'vendor') { + features.push(feature); + } }); console.log(`features: [ ${features.join(', ')} ]`);