Skip to content

Commit

Permalink
chore: bump to vitepress v1.0.0-rc.25
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
cexbrayat committed Nov 8, 2023
1 parent 34f81c4 commit 9d4ae97
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 44 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { enConfig } from './en'
import { frConfig } from './fr'
import { sharedConfig } from './shared'
import { enConfig } from './en.mts'
import { frConfig } from './fr.mts'
import { sharedConfig } from './shared.mts'
import { defineConfig } from 'vitepress'

export default defineConfig({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"typescript": "5.2.2",
"unplugin-vue-components": "0.25.2",
"vite": "4.5.0",
"vitepress": "1.0.0-beta.7",
"vitepress": "1.0.0-rc.25",
"vitest": "0.34.6",
"vue": "3.3.7",
"vue-class-component": "8.0.0-rc.1",
Expand Down
114 changes: 74 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9d4ae97

Please sign in to comment.