@sprit/pretty-console-webpack-plugin
Version:
## Usage ```typescript import { PrettyConsoleWebpackPlugin } from '@sprit/pretty-console-webpack-plugin'; ```
19 lines (18 loc) • 484 B
TypeScript
/**
* 由 option 收集 console 信息
*/
import { IOption } from './interface';
/**
* 空值显示字符
*/
export declare const EMPTY_STR = "-";
/**
* 获取环境变量
*/
export declare const getEnv: (key: string) => string | undefined;
/**
* nil 时输出 空值字符
*/
export declare const defaultToEmpty: (value: string | undefined | null) => string;
declare const _default: (option: IOption) => [string, string, string][];
export default _default;