fix: update command on docs and logic (#4946)

This commit is contained in:
Kartik
2026-04-23 19:42:28 +05:30
committed by GitHub
parent 34ed122ef3
commit 2549a84e5c
10 changed files with 80 additions and 76 deletions
+4
View File
@@ -1,4 +1,5 @@
import { defineConfig } from "tsup";
import pkg from "./package.json";
export default defineConfig({
entry: ["index.ts", "fs-safe.ts"],
@@ -8,4 +9,7 @@ export default defineConfig({
sourcemap: true,
clean: true,
external: [/^node:/, /^openclaw\//, "fs", "os", "path", "url", "readline", "module"],
define: {
__OPENCLAW_PLUGIN_VERSION__: JSON.stringify(pkg.version),
},
});