feat: correct package.json dependencies and remove libsql

This commit is contained in:
Aarnav Tale
2026-03-17 13:31:35 -04:00
parent 4fb1cf059e
commit 5f81822366
8 changed files with 86 additions and 93 deletions
+1 -5
View File
@@ -53,9 +53,8 @@ export default defineConfig(({ command, isSsrBuild }) => ({
rolldownOptions:
command === "build"
? {
// Exclude libsql from the server side since it's a native module
// Exclude WASM from the client since it fetches from the server
external: isSsrBuild ? [/^@libsql\//] : [/\.wasm(\?url)?$/],
external: isSsrBuild ? [] : [/\.wasm(\?url)?$/],
output: {
manualChunks: undefined,
inlineDynamicImports: isSsrBuild,
@@ -67,9 +66,6 @@ export default defineConfig(({ command, isSsrBuild }) => ({
target: "node",
noExternal: command === "build" ? true : undefined,
},
optimizeDeps: {
include: ["@libsql/client"],
},
define: {
__VERSION__: JSON.stringify(isNext ? `${version}-next` : version),
__PREFIX__: JSON.stringify(prefix),