0.1.3 • Published 3 years ago

babel-plugin-console-remove v0.1.3

Weekly downloads
4
License
MIC
Repository
-
Last release
3 years ago

Babel Plugin to remove consoles

Installation

Install the plugin with:

npm install babel-plugin-console-remove

Then add the plugin to .babelrc:

{
	"plugins": ["babel-plugin-console-remove"]
}

or you maybe only want to remove some kinds of console

{
	"plugins":
	[
  		[
  			"babel-plugin-console-remove", 
  			{
  				option: 'info,error', // default warn info error debug log
  			}
  			
  		]
  	]
}