diff --git a/package.json b/package.json index 3f4bcae..8d59dcb 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "type": "module", "scripts": { "dev": "vite", + "postbuild": "cp dist/index.html dist/404.html", "build": "tsc && vite build", "preview": "vite preview" },