Skip to content

Commit

Permalink
docs: reload due to gsap and shiki (vitejs#18397)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev authored Oct 19, 2024
1 parent bae6a37 commit 257883f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,20 @@ export default defineConfig({
},
}),
],
environments: {
client: {
dev: {
optimizeDeps: {
include: [
'@shikijs/vitepress-twoslash/client',
'gsap',
'gsap/dist/ScrollTrigger',
'gsap/dist/MotionPathPlugin',
],
},
},
},
},
},
buildEnd,
})

0 comments on commit 257883f

Please sign in to comment.