Skip to content

Commit

Permalink
skip hidden folders
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Aug 4, 2023
1 parent ad4ba7b commit 1ce1119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build-addons.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ try {
const dirs = await readdir(BASE_DIR);

for (const dir of dirs) {
if (dir.startsWith('.')) continue;

let entryPoint = path.join(BASE_DIR, dir, 'index.ts');
const exportKey = `./addons/${dir}`;
const exportValues = {
Expand Down

0 comments on commit 1ce1119

Please sign in to comment.