@intlayer/config
Version:
Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.
99 lines (98 loc) • 2.6 kB
TypeScript
import * as esbuild0 from "esbuild";
import { BuildOptions } from "esbuild";
//#region src/bundleJSFile.d.ts
declare const bundleJSFile: (buildOptions: BuildOptions) => Promise<esbuild0.BuildResult<{
bundle: boolean;
splitting?: boolean;
preserveSymlinks?: boolean;
outfile?: string;
metafile?: boolean;
outdir?: string;
outbase?: string;
external?: string[];
packages: "bundle" | "external";
alias?: Record<string, string>;
loader: {
readonly '.js': "js";
readonly '.jsx': "jsx";
readonly '.mjs': "js";
readonly '.ts': "ts";
readonly '.tsx': "tsx";
readonly '.cjs': "js";
readonly '.json': "json";
readonly '.md': "text";
readonly '.mdx': "text";
} | {
[ext: string]: esbuild0.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?: esbuild0.StdinOptions;
plugins?: esbuild0.Plugin[];
absWorkingDir?: string;
nodePaths?: string[];
sourcemap: boolean | "linked" | "inline" | "external" | "both";
legalComments?: "none" | "inline" | "eof" | "linked" | "external";
sourceRoot?: string;
sourcesContent?: boolean;
format: esbuild0.Format;
globalName?: string;
target: string | string[];
supported?: Record<string, boolean>;
platform: esbuild0.Platform;
mangleProps?: RegExp;
reserveProps?: RegExp;
mangleQuoted?: boolean;
mangleCache?: Record<string, string | false>;
drop?: esbuild0.Drop[];
dropLabels?: string[];
minify?: boolean;
minifyWhitespace?: boolean;
minifyIdentifiers?: boolean;
minifySyntax?: boolean;
lineLimit?: number;
charset?: esbuild0.Charset;
treeShaking?: boolean;
ignoreAnnotations?: boolean;
jsx?: "transform" | "preserve" | "automatic";
jsxFactory?: string;
jsxFragment?: string;
jsxImportSource?: string;
jsxDev?: boolean;
jsxSideEffects?: boolean;
define?: {
[key: string]: string;
};
pure?: string[];
keepNames?: boolean;
color?: boolean;
logLevel: esbuild0.LogLevel;
logLimit?: number;
logOverride?: Record<string, esbuild0.LogLevel>;
tsconfigRaw?: string | esbuild0.TsconfigRaw;
}>>;
//#endregion
export { bundleJSFile };
//# sourceMappingURL=bundleJSFile.d.ts.map