babel-plugin-remove-comments
v2.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"]
});
npm i babel-plugin-remove-comments
Metadata
- MIT
- Whatever
- Unknown
- released 1/6/2016