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

x/esbuild_deno_loader/deps.ts>esbuild.TransformResult

Deno module resolution for `esbuild`
Go to Latest
interface esbuild.TransformResult
import { type esbuild } from "https://deno.land/x/esbuild_deno_loader@0.8.2/deps.ts";
const { TransformResult } = esbuild;

Type Parameters

optional
ProvidedOptions extends TransformOptions = TransformOptions

Properties

code: string
map: string
warnings: Message[]
mangleCache: Record<string, string | false> | (ProvidedOptions["mangleCache"] extends Object ? never : undefined)

Only when "mangleCache" is present

legalComments: string | (ProvidedOptions["legalComments"] extends "external" ? never : undefined)

Only when "legalComments" is "external"