Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.3/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[]; }