This package has been deprecated

Author message:

[DEPRECATED] Use comments: false in your Babel config

babel-plugin-remove-comments

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i babel-plugin-remove-comments

Weekly Downloads

174

Version

2.0.0

License

MIT

Last publish

Collaborators

  • thejameskyle