Skip to content

Commit e533f10

Browse files
committed
chore: bump to vitepress v1.0.0-rc.25
Vitepress moved to an ESM package which leads to vuejs/vitepress#2754 in our case. One possible solution mentionned by the Vitepress team is to use `mts` files instead of `ts` files, and it seems to work (`pnpm docs:build` no longer throws).
1 parent 34f81c4 commit e533f10

File tree

6 files changed

+78
-44
lines changed

6 files changed

+78
-44
lines changed
File renamed without changes.
File renamed without changes.

docs/.vitepress/config/index.ts renamed to docs/.vitepress/config/index.mts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { enConfig } from './en'
2-
import { frConfig } from './fr'
3-
import { sharedConfig } from './shared'
1+
import { enConfig } from './en.mts'
2+
import { frConfig } from './fr.mts'
3+
import { sharedConfig } from './shared.mts'
44
import { defineConfig } from 'vitepress'
55

66
export default defineConfig({
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"typescript": "5.2.2",
5757
"unplugin-vue-components": "0.25.2",
5858
"vite": "4.5.0",
59-
"vitepress": "1.0.0-beta.7",
59+
"vitepress": "1.0.0-rc.25",
6060
"vitest": "0.34.6",
6161
"vue": "3.3.7",
6262
"vue-class-component": "8.0.0-rc.1",

pnpm-lock.yaml

Lines changed: 74 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)