Skip to content

Commit

Permalink
chore: fix react icons external package issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonian committed Oct 7, 2023
1 parent 394a8d2 commit ed2bb7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ import tailwind from '@astrojs/tailwind';
export default defineConfig({
site: 'https://example.com',
integrations: [mdx(), sitemap(), react(), tailwind()],
vite: {
ssr: {
noExternal: ['react-icons'],
},
},
});

0 comments on commit ed2bb7b

Please sign in to comment.