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/
|
node_modules/
|
||||||
|
dist/
|
||||||
*.db
|
*.db
|
||||||
install.sh.bak-v34
|
install.sh.bak-v34
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export default defineConfig({
|
|||||||
entry: ["index.ts"],
|
entry: ["index.ts"],
|
||||||
format: ["esm"],
|
format: ["esm"],
|
||||||
splitting: true,
|
splitting: true,
|
||||||
dts: true,
|
dts: false,
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
clean: true,
|
clean: true,
|
||||||
external: [/^node:/, /^openclaw\//, "fs", "os", "path", "url", "readline", "module", "better-sqlite3"],
|
external: [/^node:/, /^openclaw\//, "fs", "os", "path", "url", "readline", "module", "better-sqlite3"],
|
||||||
|
|||||||
Reference in New Issue
Block a user