import { esbuildWasm } from "https://deno.land/x/esbuild_deno_loader@0.8.2/test_deps.ts";
const { transformSync } = esbuildWasm;
A synchronous version of "transform".
- Works in node: yes
- Works in browser: no
Documentation: https://esbuild.github.io/api/#transform
Type Parameters
T extends TransformOptions
Parameters
optional
options: SameShape<TransformOptions, T>