Build with Bun in start command

This commit is contained in:
SirBlob committed 2026-10-26 15:54:14 -04:00
1 parent 09157b3ad0
commit be028d6934
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ A portfolio website that recreates my Arch Linux desktop (Hyprland, Quickshell b
## Running
`start` builds the site and serves it with Bun on `PORT` (default 3000), reading `.env` for the Discord variables.
`start` builds the site with Bun (so it does not depend on the system Node version) and serves it with Bun on `PORT` (default 3000), reading `.env` for the Discord variables.
```bash
bun install
+1 -1
View File
@@ -7,7 +7,7 @@
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"start": "vite build && bun ./build/index.js",
"start": "bun --bun vite build && bun ./build/index.js",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"