console-prefix-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Add a prefix before the console method for Webpack plugin.

Demo

  new ConsolePrefixWebpackPlugin({
    prefix: '[ConsolePrefix] ',
    methodList: ['log', 'warn', 'error'],
    webpack,
  }),

Dependents (0)

Package Sidebar

Install

npm i console-prefix-webpack-plugin

Weekly Downloads

0

Version

1.2.0

License

none

Unpacked Size

9.63 kB

Total Files

6

Last publish

Collaborators

  • xbchen