Chore: improve types & performance

This commit is contained in:
SukkaW
2024-04-16 22:54:22 +08:00
parent 7750a0291d
commit e68b064fe5
5 changed files with 32 additions and 47 deletions

View File

@@ -22,7 +22,8 @@ export const buildPublic = task(import.meta.path, async (span) => {
.traceChild('copy public files')
.traceAsyncFn(async () => {
const filesToBeCopied = (await listDir(
rootPath, {
rootPath,
{
ignoreHidden: true,
ignorePattern: /node_modules|Build|public/
}