Skip to content

Commit 8324f93

Browse files
committed
Fix: Exclude @swc/html from Vite dependencies to fix Windows dev issue
1 parent 1b8b763 commit 8324f93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export default defineConfig({
6363
},
6464
},
6565
vite: {
66+
optimizeDeps: {
67+
exclude: ["@swc/html"]
68+
},
6669
rollupOptions: {
6770
external: ["/src/scripts/*"],
6871
},

0 commit comments

Comments
 (0)