Skip to content

Commit 327f5f2

Browse files
committed
fix: update build-only script to copy index.html to 404.html
1 parent bf9a20f commit 327f5f2

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
@@ -10,7 +10,7 @@
1010
"dev": "vite",
1111
"build": "run-p type-check \"build-only {@}\" --",
1212
"preview": "vite preview",
13-
"build-only": "vite build",
13+
"build-only": "vite build && cp dist/index.html dist/404.html",
1414
"type-check": "vue-tsc --build",
1515
"lint": "eslint . --fix --cache",
1616
"format": "prettier --write --experimental-cli src/"

0 commit comments

Comments
 (0)