@invisit/webpack-aws-lambda-auto-deploy-plugin
Version:
Uploads compiled assets to s3 after build
25 lines (24 loc) • 824 B
TypeScript
import Webpack from "webpack";
import Tracer from "tracer";
import Debug from "debug";
import { Predicate } from "@3fv/prelude-ts";
export declare const isNotEmpty: Predicate<any>;
export declare const isStringAndNotEmpty: Predicate<any>;
/**
* Get a config value from ENV
*
* @param key
* @param defaultValue
* @returns
*/
export declare function getEnvConfigValue(key: string, defaultValue?: string): string;
export declare const DebugAwsAutoDeployCategory = "inv:aws:deploy";
/**
*
* @returns debug instance for plugin
*/
export declare function getDebug(): Debug.Debugger;
export declare const RootPluginDir: string;
export declare function getFileTimestamp(): string;
export declare function isMultiStats(o: any): o is Webpack.compilation.MultiStats;
export declare function getLogger(): Tracer.Tracer.Logger;