Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/server/deps.ts>esbuild.build

The Full-stack Framework in Deno.
Go to Latest
function esbuild.build
import { esbuild } from "https://deno.land/x/aleph@1.0.0-beta.23/server/deps.ts";
const { build } = esbuild;

This function invokes the "esbuild" command-line tool for you. It returns a promise that either resolves with a "BuildResult" object or rejects with a "BuildFailure" object.

  • Works in node: yes
  • Works in browser: yes

Documentation: https://esbuild.github.io/api/#build

Type Parameters

SpecificOptions extends BuildOptions