2.0.0 • Published 9 years ago

babel-plugin-remove-comments v2.0.0

Weekly downloads
180
License
MIT
Repository
github
Last release
9 years ago

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"]
});