Skip to content

Commit

Permalink
[v3.8.5] Package size check needs to ignore exports/vendor.ts (#17979)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar authored Nov 28, 2024
1 parent 5e671ae commit 77b3ab8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/package-size-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(', ')} ]`);
Expand Down

0 comments on commit 77b3ab8

Please sign in to comment.