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',