Skip to content

Commit

Permalink
fix: added react-helmet-async ssr noExternal config
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Dec 25, 2023
1 parent 1daa098 commit 82c3bd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ export default defineConfig(async ({ mode }) => {
}),
ViteImageOptimizer({}),
],

ssr: {
noExternal: ["react-helmet-async"],
},
test: {
environment: "node",
},
Expand Down

0 comments on commit 82c3bd3

Please sign in to comment.