babel-plugin-remove-comments

Remove comments.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-plugin-remove-comments
402.0.07 years ago7 years agoMinified + gzip package size for babel-plugin-remove-comments in KB

Readme

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