mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: render threading
This commit is contained in:
1 parent
9495ae2336
commit
6fdd4ba833
7 files changed
+73
-5
No files matched your search
+9
-1
@@ -1,6 +1,14 @@
|
||||
import { build } from 'esbuild';
|
||||
import { readdir } from 'fs/promises';
|
||||
|
||||
const FILES = ['bot', 'index'];
|
||||
const FILES = [
|
||||
'bot',
|
||||
'index',
|
||||
|
||||
(await readdir('src/workers')).map(
|
||||
(file) => `workers/${file.replace('.ts', '')}`,
|
||||
),
|
||||
];
|
||||
|
||||
await build({
|
||||
entryPoints: FILES.map((file) => `src/${file}.ts`),
|
||||
|
||||
Reference in new issue
Block a user