Skip to content

Commit

Permalink
fix: "No known conditions for node specifier in msw"
Browse files Browse the repository at this point in the history
  • Loading branch information
kellerer authored and JonasKellerer committed Dec 15, 2023
1 parent c5289c9 commit 6cb29b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'astro/config';
import {defineConfig} from 'astro/config';
import node from '@astrojs/node';
import tailwind from '@astrojs/tailwind';
import Icons from 'unplugin-icons/vite';
Expand All @@ -17,8 +17,8 @@ export default defineConfig({
},
vite: {
optimizeDeps: {
exclude: ['fsevents'],
exclude: ['fsevents', 'msw/node', 'msw'],
},
plugins: [Icons({ compiler: 'jsx', jsx: 'react' })],
plugins: [Icons({compiler: 'jsx', jsx: 'react'})],
},
});

0 comments on commit 6cb29b0

Please sign in to comment.