diff --git a/package.json b/package.json index 75657fa..7bd8912 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "vite", "build": "run-p type-check build-only", "preview": "vite preview", - "build-only": "vite build", + "build-only": "vite build && cp ./dist/index.html ./dist/404.html", "type-check": "vue-tsc --noEmit", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" },