chore: fix Windows build

pull/4358/head
userquin 10 months ago
parent d200f4e125
commit d97f6f574e

@ -47,7 +47,11 @@ const esmBuild: RollupOptions = {
input: [ input: [
r('src/node/index.ts'), r('src/node/index.ts'),
r('src/node/cli.ts'), r('src/node/cli.ts'),
...globSync(r('src/node/worker_*.ts')) ...globSync('src/node/worker_*.ts', {
cwd: r('.'),
onlyFiles: true,
expandDirectories: false
})
], ],
output: { output: {
format: 'esm', format: 'esm',

Loading…
Cancel
Save