mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: migrate to bun
This commit is contained in:
1 parent
6ecabe1d77
commit
9ffd20ffbf
10 files changed
+35
-45
No files matched your search
+2
-2
@@ -8,7 +8,7 @@
|
||||
"build:assets": "bun scripts/buildAssets/index.ts",
|
||||
"build:averages": "bun scripts/averages",
|
||||
"build:db": "prisma generate",
|
||||
"build:bot": "bun scripts/build.ts --production",
|
||||
"build:bot": "rm -rf dist/bot && bun build src/index.ts src/workers/bot.ts src/workers/render.ts --outdir dist/bot --target=bun --splitting --sourcemap=inline && cp -R src/lang dist/bot/lang",
|
||||
"build:website": "bun build:db && bun build:sitemap && next build",
|
||||
"build:sitemap": "bun scripts/sitemap.ts",
|
||||
"build:docs": "vitepress build docs",
|
||||
@@ -16,7 +16,7 @@
|
||||
"dev:bot": "vite-node --script scripts/build && yarn start:bot",
|
||||
"dev:docs": "vitepress dev docs",
|
||||
"dev:website": "next dev",
|
||||
"start:bot": "node --enable-source-maps dist/bot/index.cjs",
|
||||
"start:bot": "bun dist/bot/index.js",
|
||||
"start:website": "next start",
|
||||
"host:docs": "vitepress preview docs",
|
||||
"lint": "npx tsc",
|
||||
|
||||
Reference in new issue
Block a user