File size: 362 Bytes
9c12830
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#!/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"] });
}