import { bundleScript } from "https://deno.land/x/cav@0.0.14/mod.ts";
Bundles browser-only JavaScript and TypeScript files into a single JavaScript output, with the ability to watch the module graph for changes to trigger a re-bundle. The input file and all of its dependencies will be included in the bundle. Bundling uses Deno's runtime compiler API behind-the-scenes, which requires the --unstable flag.
Note that dependencies imported using the async import()
API will not be
bundled, they will need to be available to the script at runtime.