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

x/esbuild_deno_loader/deps.ts>esbuild.transformSync

Deno module resolution for `esbuild`
Go to Latest
function esbuild.transformSync
import { esbuild } from "https://deno.land/x/esbuild_deno_loader@0.7.1/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

Type Parameters

SpecificOptions extends TransformOptions

Parameters

input: string
optional
options: SpecificOptions

Parameters

input: string | Uint8Array
optional
options: TransformOptions