Skip to content

Commit 3000a4f

Browse files
committed
build: copy export worker on build
1 parent c859181 commit 3000a4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/api/libnest.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ const config = defineUserConfig({
3333
await fs.cp(path.join(runtimeV1Dir, 'dist'), path.join(import.meta.dirname, 'dist/runtime/v1'), {
3434
recursive: true
3535
});
36+
await fs.cp(
37+
path.join(import.meta.dirname, 'src/instrument-records/export-worker.js'),
38+
path.join(import.meta.dirname, 'dist/export-worker.js')
39+
);
3640
},
3741
outfile: path.resolve(import.meta.dirname, 'dist/app.js')
3842
},

0 commit comments

Comments
 (0)