Skip to content

Commit

Permalink
[v3.8.5] Package size check needs to ignore exports/vendor.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Nov 28, 2024
1 parent 5e671ae commit 588c221
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 588c221

Please sign in to comment.