no-console-webpack-plugin

0.0.5 • Public • Published

no-console-webpack-plugin

A webpack plugin to clear specific type of console install

$ npm install debug

usage

const NoConsolePlugin = require('no-console-webpack-plugin');

//in your webpack.config.js
{
	plugins:[new NoConsolePlugin()]
}

options

ignores:{String|Array}

new NoConsolePlugin({
	ignores:'log'
});
//or
new NoConsolePlugin({
	ignores:[
		'log',
		'info',
		'warn'
	]
})

Readme

Keywords

Package Sidebar

Install

npm i no-console-webpack-plugin

Weekly Downloads

0

Version

0.0.5

License

ISC

Last publish

Collaborators

  • olivery