Skip to content

Commit

Permalink
fix: use CJS SSR build for VitePress
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed May 26, 2022
1 parent 212f81a commit ac494ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineConfig } from 'vite'

export default defineConfig({
ssr: {
target: 'node-cjs'
}
})

0 comments on commit ac494ac

Please sign in to comment.