add production build script

This commit is contained in:
not-nullptr 2024-03-09 12:40:34 +00:00
parent 4f4ed579f1
commit 00478c1481

View file

@ -5,6 +5,7 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build-prod": "vite build && pm2 restart suyu-site",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",