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

x/fresh/src/server/deps.ts>esbuildTypes.buildSync

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

A synchronous version of "build".

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

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

Parameters

options: BuildOptions & { write: false; }

Returns

BuildResult & { outputFiles: OutputFile[]; }