diff --git a/README.md b/README.md index 62fb42b..c8ccd53 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index 45eaeac..6bbc75d 100644 --- a/package.json +++ b/package.json @@ -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"