From 1ce11192063cf1f67f57ed622d59f2df5faad580 Mon Sep 17 00:00:00 2001 From: Fadi Khadra Date: Fri, 4 Aug 2023 16:16:59 +0200 Subject: [PATCH] skip hidden folders --- build-addons.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-addons.mjs b/build-addons.mjs index 9f6149fe..14195eef 100755 --- a/build-addons.mjs +++ b/build-addons.mjs @@ -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 = {