UNPKG

babel-plugin-logger-namespace

Version:

Babel plugin that generates the namespace for creating a logger based on the path of the module

8 lines (7 loc) 236 B
export declare type Options = { placeholder?: string; stripPrefix?: string; prefix?: string; stripSubfix?: string; }; export default function (path: string, { stripPrefix, stripSubfix, prefix }: Options): string;