Skip to content

Commit

Permalink
fix(theme): 修复 twoslash 打包错误
Browse files Browse the repository at this point in the history
  • Loading branch information
FuckDoctors committed Aug 7, 2024
1 parent a2df2f3 commit 9821660
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ export default defineUserConfig({

bundler: viteBundler({
viteOptions: {
// something
ssr: {
noExternal: ['floating-vue'],
},
optimizeDeps: {
include: ['floating-vue'],
},
},
}),
})

0 comments on commit 9821660

Please sign in to comment.