You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forces Vite to include this library in the SSR build pipeline.
89
+
90
+
-`ssr.noExternal`\
91
+
This allows Vite to correctly transform imports like:\
92
+
\
93
+
`import worker from '...worker.js?url'`\
94
+
which DuckDB uses for its Web Worker runtime.
95
+
96
+
-`optimizeDeps.exclude`\
97
+
Prevents Vite from trying to pre-bundle this library and DuckDB-WASM using esbuild. esbuild does not understand WASM and Worker imports, so excluding these packages avoids “Cannot read file ...?url” and similar errors.
0 commit comments