import { type esbuild } from "https://deno.land/x/fastro@v0.72.2/http/deps.ts";
const { TransformResult } = esbuild;
Type Parameters
optional
ProvidedOptions extends TransformOptions = TransformOptionsProperties
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"