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

x/lume/deps/esbuild.ts>transformSync

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

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

Returns

TransformResult<SpecificOptions>

Parameters

input: string | Uint8Array
optional
options: TransformOptions

Returns

TransformResult