Skip to content

Commit 6e67c88

Browse files
committed
fix: copy index.html to 404.html for GitHub Pages
1 parent 45cf3b9 commit 6e67c88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"packageManager": "pnpm@10.25.0",
77
"scripts": {
88
"dev": "vite",
9-
"build": "tsc -b && vite build",
9+
"build": "tsc -b && vite build && cp ./dist/index.html ./dist/404.html",
1010
"lint": "eslint .",
1111
"preview": "vite preview"
1212
},

0 commit comments

Comments
 (0)