Skip to content

Commit 3259d03

Browse files
committed
build: replace serve with anywhere
1 parent 0fdb021 commit 3259d03

File tree

2 files changed

+676
-201
lines changed

2 files changed

+676
-201
lines changed

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"docs:build": "vuepress-cli build --clean-cache",
77
"docs:clean": "rimraf .vuepress/.temp .vuepress/.cache .vuepress/dist",
88
"docs:dev": "vuepress-cli dev --clean-cache",
9-
"docs:serve": "serve .vuepress/dist"
9+
"docs:serve": "anywhere -s -h localhost -d .vuepress/dist"
1010
},
1111
"dependencies": {
1212
"@vuepress/bundler-vite": "workspace:*",
@@ -20,8 +20,8 @@
2020
"@vuepress/plugin-shiki": "workspace:*",
2121
"@vuepress/theme-default": "workspace:*",
2222
"@vuepress/utils": "workspace:*",
23+
"anywhere": "^1.6.0",
2324
"sass-loader": "^13.0.2",
24-
"serve": "^14.0.1",
2525
"vue": "^3.2.37"
2626
}
2727
}

0 commit comments

Comments
 (0)