babel-plugin-remove-comments
v1.0.0 babel-plugin
babel-plugin-remove-comments
Remove comments.
Installation
$ npm install babel-plugin-remove-comments
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["remove-comments"]
}
Via CLI
$ babel --plugins remove-comments script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["remove-comments"]
});