From d97f6f574ef86d97c96ba082b18aafca0f4662c6 Mon Sep 17 00:00:00 2001 From: userquin Date: Tue, 12 Nov 2024 13:35:39 +0100 Subject: [PATCH] chore: fix Windows build --- rollup.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rollup.config.ts b/rollup.config.ts index ed7841b2..723909a7 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -47,7 +47,11 @@ const esmBuild: RollupOptions = { input: [ r('src/node/index.ts'), r('src/node/cli.ts'), - ...globSync(r('src/node/worker_*.ts')) + ...globSync('src/node/worker_*.ts', { + cwd: r('.'), + onlyFiles: true, + expandDirectories: false + }) ], output: { format: 'esm',