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:
2026-05-08 07:18:57 +03:00
parent 2ea0f8f3bd
commit 6ba91a7dc5
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
node_modules/
dist/
*.db
install.sh.bak-v34

View File

@@ -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"],