st-bundle
Version:
CLI for watching and bundling SpringType projects.
30 lines (29 loc) • 876 B
TypeScript
export interface IProductionAPIOptions {
useSingleBundle?: boolean;
browser?: boolean;
universal?: boolean;
isElectron?: boolean;
server?: boolean;
globalRequire?: boolean;
isServerFunction?: boolean;
isBrowserFunction?: boolean;
computedStatements?: boolean;
allowSyntheticDefaultImports?: boolean;
hashes?: boolean;
serverRequire?: boolean;
customStatementResolve?: boolean;
lazyLoading?: boolean;
codeSplitting?: boolean;
ajaxRequired?: boolean;
jsonLoader?: boolean;
cssLoader?: boolean;
promisePolyfill?: boolean;
loadRemoteScript?: boolean;
isContained?: boolean;
splitConfig?: any;
extendServerImport?: boolean;
runtimeBundleMapping?: boolean;
}
export declare function renderProductionAPI(conditions?: IProductionAPIOptions, variables?: {
[key: string]: any;
}): any;