Skip to content

Commit df33207

Browse files
committed
chore: fix site
1 parent dc1169f commit df33207

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/.vitepress/config.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ export default async (): Promise<UserConfig<DefaultTheme.Config>> => {
5454
},
5555
define: {
5656
"process.env.NODE_DEBUG": "false",
57+
"process.platform": JSON.stringify(process.platform),
58+
"process.version": JSON.stringify(process.version),
5759
},
5860
optimizeDeps: {
5961
// exclude: ["vue-eslint-parser"],

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"predocs:watch": "npm run build",
2121
"docs:watch": "vitepress dev docs",
2222
"docs:build": "npm run build && vitepress build docs",
23+
"docs:open-dist": "cd ./docs/.vitepress/dist && npx -y http-server --open http://localhost:8080/eslint-plugin-vue-scoped-css/",
2324
"preversion": "npm test && npm run update && git add .",
2425
"version": "npm run lint -- --fix && git add .",
2526
"version:ci": "npm run update && changeset version",

0 commit comments

Comments
 (0)