lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
19 lines (18 loc) • 611 B
TypeScript
import { BuildOptions } from 'esbuild';
export type LambdaResource = {
functionName: string;
codePath: string;
packageJsonPath?: string;
handler?: string;
/**
* If true, the function will be bundled even if it is a JavaScript file.
*/
forceBundle?: boolean;
bundlingType?: BundlingType;
esBuildOptions?: EsBuildOptions;
};
export declare enum BundlingType {
ESBUILD = "ESBUILD",
NONE = "NONE"
}
export type EsBuildOptions = Omit<BuildOptions, 'outfile' | 'outdir' | 'outbase' | 'write' | 'allowOverwrite' | 'sourcemap' | 'keepnames' | 'entryPoints' | 'stdin'>;