Skip to content

Commit

Permalink
Add ssr.noExternal to fix docs site’s build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
acusti committed Jul 25, 2024
1 parent 61df979 commit 755dca4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/site/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default defineConfig({
tsconfigPaths(),
],
ssr: {
noExternal: ["@docsearch/react", "@markdoc/markdoc"],
resolve: {
conditions: ["workerd", "worker", "browser"],
},
Expand All @@ -28,4 +29,4 @@ export default defineConfig({
build: {
minify: true,
},
});
});

0 comments on commit 755dca4

Please sign in to comment.