Skip to content

Commit 6df4042

Browse files
committed
Add postbuild script to copy 404 HTML page.
1 parent 9536282 commit 6df4042

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "vite build",
9+
"postbuild": "cp dist/index.html dist/404.html",
910
"preview": "vite preview",
1011
"predeploy": "npm run build",
1112
"deploy": "gh-pages -d dist"

0 commit comments

Comments
 (0)