🔧 Update prebuild command.

This commit is contained in:
pheralb 2024-01-02 09:58:24 +00:00
parent f8aa92e2c9
commit f0c43a85eb

View File

@ -16,7 +16,7 @@
"dev": "vite dev", "dev": "vite dev",
"host": "vite dev --host", "host": "vite dev --host",
"build": "pnpm run prebuild && vite build", "build": "pnpm run prebuild && vite build",
"prebuild": "cd ./check-size && npm run start", "prebuild": "cd ./check-size && pnpm install && pnpm run start",
"preview": "vite preview", "preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",