Skip to main content
Module

x/fastro/http/build/deps.ts>esbuild.initialize

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
function esbuild.initialize
import { esbuild } from "https://deno.land/x/fastro@v0.85.0/http/build/deps.ts";
const { initialize } = esbuild;

This configures the browser-based version of esbuild. It is necessary to call this first and wait for the returned promise to be resolved before making other API calls when using esbuild in the browser.

  • Works in node: yes
  • Works in browser: yes ("options" is required)

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

Returns

Promise<void>