diff --git a/packages/create-vite/template-qwik-ts/package.json b/packages/create-vite/template-qwik-ts/package.json index 383806c529cc20..024cd458c2dda6 100644 --- a/packages/create-vite/template-qwik-ts/package.json +++ b/packages/create-vite/template-qwik-ts/package.json @@ -6,9 +6,10 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "preview": "vite preview" + "preview": "serve dist" }, "devDependencies": { + "serve": "^14.2.1", "typescript": "^5.2.2", "vite": "^5.1.3" }, diff --git a/packages/create-vite/template-qwik/package.json b/packages/create-vite/template-qwik/package.json index 383806c529cc20..024cd458c2dda6 100644 --- a/packages/create-vite/template-qwik/package.json +++ b/packages/create-vite/template-qwik/package.json @@ -6,9 +6,10 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "preview": "vite preview" + "preview": "serve dist" }, "devDependencies": { + "serve": "^14.2.1", "typescript": "^5.2.2", "vite": "^5.1.3" },