Files
openclaw/scripts/bundle-a2ui.mjs
2026-06-04 23:28:04 -04:00

10 lines
362 B
JavaScript

#!/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.mjs";
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
await runBundledPluginAssetHooks({ phase: "build", plugins: ["canvas"] });
}