Ignore dotfiles in plugin dirs (#447)

main
hunter 2 years ago committed by GitHub
parent 68e80c4d4c
commit 84cfe531af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save