Skip to content

Commit 07bc456

Browse files
authored
Merge pull request #724 from HritvikBhatia/fix-swc-html
Fix: Exclude @swc/html from Vite dependencies to fix Windows dev issue
2 parents 97bcb79 + 8324f93 commit 07bc456

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)