Skip to content

Commit

Permalink
docs: reload due to gsap and shiki (#18397) (#1633)
Browse files Browse the repository at this point in the history
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
  • Loading branch information
kiaking and patak-dev authored Oct 20, 2024
1 parent 23c71c6 commit 0dd83ff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,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 0dd83ff

Please sign in to comment.