babel-plugin-remove-comments

Remove comments.

[DEPRECATED] Use comments: false in your Babel config
Last updated 5 years ago by thejameskyle .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-plugin-remove-comments 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

2 Versions

  • 2.0.0 [deprecated]           ...           5 years ago
  • 1.0.0 [deprecated]           ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 8
Dependencies (0)
None
Dev Dependencies (5)

Copyright 2014 - 2017 © taobao.org |