@oazmi/esbuild-types - v0.25.0
    Preparing search index...

    Interface BuildOptions

    interface BuildOptions {
        sourcemap?: boolean | "external" | "linked" | "inline" | "both";
        legalComments?: "external" | "linked" | "inline" | "none" | "eof";
        sourceRoot?: string;
        sourcesContent?: boolean;
        format?: Format;
        globalName?: string;
        target?: string | string[];
        supported?: Record<string, boolean>;
        platform?: Platform;
        mangleProps?: RegExp;
        reserveProps?: RegExp;
        mangleQuoted?: boolean;
        mangleCache?: Record<string, string | false>;
        drop?: Drop[];
        dropLabels?: string[];
        minify?: boolean;
        minifyWhitespace?: boolean;
        minifyIdentifiers?: boolean;
        minifySyntax?: boolean;
        lineLimit?: number;
        charset?: Charset;
        treeShaking?: boolean;
        ignoreAnnotations?: boolean;
        jsx?: "preserve" | "transform" | "automatic";
        jsxFactory?: string;
        jsxFragment?: string;
        jsxImportSource?: string;
        jsxDev?: boolean;
        jsxSideEffects?: boolean;
        define?: { [key: string]: string };
        pure?: string[];
        keepNames?: boolean;
        color?: boolean;
        logLevel?: LogLevel;
        logLimit?: number;
        logOverride?: Record<string, LogLevel>;
        tsconfigRaw?: string | TsconfigRaw;
        bundle?: boolean;
        splitting?: boolean;
        preserveSymlinks?: boolean;
        outfile?: string;
        metafile?: boolean;
        outdir?: string;
        outbase?: string;
        external?: string[];
        packages?: "bundle" | "external";
        alias?: Record<string, string>;
        loader?: { [ext: string]: Loader };
        resolveExtensions?: string[];
        mainFields?: string[];
        conditions?: string[];
        write?: boolean;
        allowOverwrite?: boolean;
        tsconfig?: string;
        outExtension?: { [ext: string]: string };
        publicPath?: string;
        entryNames?: string;
        chunkNames?: string;
        assetNames?: string;
        inject?: string[];
        banner?: { [type: string]: string };
        footer?: { [type: string]: string };
        entryPoints?:
            | string[]
            | Record<string, string>
            | { in: string; out: string }[];
        stdin?: StdinOptions;
        plugins?: Plugin[];
        absWorkingDir?: string;
        nodePaths?: string[];
    }

    Hierarchy

    • CommonOptions
      • BuildOptions
    Index

    Properties

    sourcemap?: boolean | "external" | "linked" | "inline" | "both"
    legalComments?: "external" | "linked" | "inline" | "none" | "eof"
    sourceRoot?: string
    sourcesContent?: boolean
    format?: Format
    globalName?: string
    target?: string | string[]
    supported?: Record<string, boolean>
    platform?: Platform
    mangleProps?: RegExp
    reserveProps?: RegExp
    mangleQuoted?: boolean
    mangleCache?: Record<string, string | false>
    drop?: Drop[]
    dropLabels?: string[]
    minify?: boolean
    minifyWhitespace?: boolean
    minifyIdentifiers?: boolean
    minifySyntax?: boolean
    lineLimit?: number
    charset?: Charset
    treeShaking?: boolean
    ignoreAnnotations?: boolean
    jsx?: "preserve" | "transform" | "automatic"
    jsxFactory?: string
    jsxFragment?: string
    jsxImportSource?: string
    jsxDev?: boolean
    jsxSideEffects?: boolean
    define?: { [key: string]: string }
    pure?: string[]
    keepNames?: boolean
    color?: boolean
    logLevel?: LogLevel
    logLimit?: number
    logOverride?: Record<string, LogLevel>
    tsconfigRaw?: string | TsconfigRaw
    bundle?: boolean
    splitting?: boolean
    preserveSymlinks?: boolean
    outfile?: string
    metafile?: boolean
    outdir?: string
    outbase?: string
    external?: string[]
    packages?: "bundle" | "external"
    alias?: Record<string, string>
    loader?: { [ext: string]: Loader }
    resolveExtensions?: string[]
    mainFields?: string[]
    conditions?: string[]
    write?: boolean
    allowOverwrite?: boolean
    tsconfig?: string
    outExtension?: { [ext: string]: string }
    publicPath?: string
    entryNames?: string
    chunkNames?: string
    assetNames?: string
    inject?: string[]
    banner?: { [type: string]: string }
    footer?: { [type: string]: string }
    entryPoints?: string[] | Record<string, string> | { in: string; out: string }[]
    stdin?: StdinOptions
    plugins?: Plugin[]
    absWorkingDir?: string
    nodePaths?: string[]