diff --git a/package.json b/package.json index e2baa40..050beef 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "[ -f .env ] || cp env.sample .env && vite", "build": "[ -f .env ] || cp env.sample .env && vite build && cp _headers dist/_headers", "preview": "vite preview", "check": "svelte-check --tsconfig ./tsconfig.json",