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

x/lume/deps/esbuild.ts>TransformResult

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

Type Parameters

optional
SpecificOptions extends TransformOptions = TransformOptions

Properties

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

Only when "mangleCache" is present

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

Only when "legalComments" is "external"