From 84cfe531af3fb26fa31bb364c71a23b1e9845735 Mon Sep 17 00:00:00 2001 From: hunter <61890674+hunt-g@users.noreply.github.com> Date: Sun, 22 Jan 2023 16:27:55 -0700 Subject: [PATCH] Ignore dotfiles in plugin dirs (#447) --- scripts/build/common.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build/common.mjs b/scripts/build/common.mjs index 2743c700d..9e0023c70 100644 --- a/scripts/build/common.mjs +++ b/scripts/build/common.mjs @@ -68,6 +68,7 @@ export const globPlugins = { if (!existsSync(`./src/${dir}`)) continue; const files = await readdir(`./src/${dir}`); for (const file of files) { + if (file.startsWith(".")) continue; if (file === "index.ts") { continue; }