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

x/lume/deps/esbuild.ts>initialize

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function initialize
import { initialize } from "https://deno.land/x/lume@v1.15.3/deps/esbuild.ts";

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>