Skip to content

Commit c927244

Browse files
committed
fix: add postbuild script to copy index.html to 404.html
1 parent aa291fb commit c927244

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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": "tsc -b && vite build",
9+
"postbuild": "cp dist/index.html dist/404.html",
910
"lint": "eslint .",
1011
"preview": "vite preview"
1112
},

0 commit comments

Comments
 (0)