openclaw / scripts /bundle-a2ui.mts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
9c12830 verified
Raw
History Blame Contribute Delete
362 Bytes
#!/usr/bin/env node
// Runs bundled asset build hooks for the Canvas A2UI runtime.
import { pathToFileURL } from "node:url";
import { runBundledPluginAssetHooks } from "./bundled-plugin-assets.mts";
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
await runBundledPluginAssetHooks({ phase: "build", plugins: ["canvas"] });
}