UNPKG

@lipsurf/cli

Version:

Build LipSurf plugins to add custom voice commands to any website.

13 lines (11 loc) 304 B
import { transformJSToPlugin } from "./transform"; process.on("message", (msg: Parameters<typeof transformJSToPlugin>) => { // console.log("Message from parent:", msg); transformJSToPlugin(...msg) .then(() => { process.exit(0); }) .catch(() => { process.exit(1); }); });