Skip to content

Commit 861c1d6

Browse files
committed
fix: correct docs dev & build
1 parent 18d7488 commit 861c1d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/.vitepress/theme/components/eslint-code-block.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default {
142142
this.height = `${Math.max(120, 20 * (1 + lines))}px`
143143
// Load linter.
144144
const [plugin, { Linter }, vueEslintParser, globals] = await Promise.all([
145-
import('eslint-plugin-vue'),
145+
import('../../../../lib/index'),
146146
import('eslint'),
147147
import('vue-eslint-parser'),
148148
import('globals')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"typegen": "node ./tools/generate-typegen.mjs",
2525
"build": "tsdown",
2626
"docs:watch": "vitepress dev docs",
27-
"predocs:build": "npm run update && npm run build",
27+
"predocs:build": "npm run update",
2828
"docs:build": "vitepress build docs",
2929
"generate:version": "env-cmd -e version npm run update && npm run lint -- --fix",
3030
"changeset:version": "changeset version && npm run generate:version && git add --all",

0 commit comments

Comments
 (0)