fix: disable dts generation, add dist to gitignore
dts build fails because openclaw/plugin-sdk is not available at compile time (only at runtime via OpenClaw gateway). JS bundle (314KB ESM) builds fine.
This commit is contained in:
1
openclaw-memoria-port/.gitignore
vendored
1
openclaw-memoria-port/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
node_modules/
|
||||
dist/
|
||||
*.db
|
||||
install.sh.bak-v34
|
||||
|
||||
@@ -5,7 +5,7 @@ export default defineConfig({
|
||||
entry: ["index.ts"],
|
||||
format: ["esm"],
|
||||
splitting: true,
|
||||
dts: true,
|
||||
dts: false,
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
external: [/^node:/, /^openclaw\//, "fs", "os", "path", "url", "readline", "module", "better-sqlite3"],
|
||||
|
||||
Reference in New Issue
Block a user