mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 14:20:44 +00:00
refactor(plugin-sdk): retire reserved helper exports
This commit is contained in:
@@ -251,8 +251,8 @@ for (const packageJsonPath of [
|
||||
};
|
||||
if (!pkg.exports["./plugin-sdk/gateway-runtime"]) {
|
||||
pkg.exports["./plugin-sdk/gateway-runtime"] = {
|
||||
types: "./dist/plugin-sdk/browser-node-runtime.d.ts",
|
||||
default: "./dist/plugin-sdk/browser-node-runtime.js",
|
||||
types: "./dist/plugin-sdk/gateway-runtime.d.ts",
|
||||
default: "./dist/plugin-sdk/gateway-runtime.js",
|
||||
};
|
||||
}
|
||||
fs.writeFileSync(packageJsonPath, `${JSON.stringify(pkg, null, 2)}\n`);
|
||||
|
||||
Reference in New Issue
Block a user