mirror of
https://github.com/tale/headplane.git
synced 2026-08-27 15:37:04 +00:00
feat: correct package.json dependencies and remove libsql
This commit is contained in:
+1
-5
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user