Skip to content

Commit

Permalink
astro.config.mjs updated to include ssr noExternal: @mui/utils in vit…
Browse files Browse the repository at this point in the history
…e config
  • Loading branch information
allison-truhlar committed Feb 8, 2024
1 parent 866d97f commit 756c5fd
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 97 deletions.
7 changes: 1 addition & 6 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,8 @@ export default defineConfig({
react(),
],
vite: {
plugins: [
cjsInterop({
dependencies: ["@mui/utils"],
}),
],
ssr: {
noExternal: ["react-icons"],
noExternal: ["react-icons", "@mui/utils"],
},
},
});
Loading

0 comments on commit 756c5fd

Please sign in to comment.