import { esbuild } from "https://deno.land/x/esbuild_deno_loader@0.8.2/deps.ts";
const { context } = esbuild;
This is the advanced long-running form of "build" that supports additional features such as watch mode and a local development server.
- Works in node: yes
- Works in browser: no
Documentation: https://esbuild.github.io/api/#build
Type Parameters
T extends BuildOptions
Parameters
options: SameShape<BuildOptions, T>
Returns
Promise<BuildContext<T>>