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

x/fastro/http/deps.ts>esbuild.transformSync

Fast and simple web application framework for deno
Go to Latest
function esbuild.transformSync
import { esbuild } from "https://deno.land/x/fastro@v0.72.2/http/deps.ts";
const { transformSync } = esbuild;

A synchronous version of "transform".

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

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

Parameters

input: string | Uint8Array
optional
options: SameShape<TransformOptions, T>