Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fresh/src/build/deps.ts>esbuildTypes.build

The next-gen web framework.
Extremely Popular
Go to Latest
function esbuildTypes.build
import { esbuildTypes } from "https://deno.land/x/fresh@1.5.0/src/build/deps.ts";
const { build } = esbuildTypes;

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

Parameters

options: SameShape<BuildOptions, T>