console-prefix-webpack-plugin
Version:
Add a prefix before the console method for Webpack plugin.
19 lines (13 loc) • 352 B
TypeScript
import { Compiler } from "webpack"
export = ConsolePrefixWebpackPlugin
declare class ConsolePrefixWebpackPlugin {
constructor(options?: ConsolePrefixWebpackPlugin.Options)
apply(compiler: Compiler): void
}
declare namespace ConsolePrefixWebpackPlugin {
interface Options {
prefix: String,
methodList?: String,
webpack: any
}
}