Sha256: 3c664d3f4687146d2000c7f2a022a6f282a2090c5a22d32a915a71fa02800df3

Contents?: true

Size: 443 Bytes

Versions: 8

Compression:

Stored size: 443 Bytes

Contents

# babel-plugin-dead-code-elimination

Eliminate dead code

## Installation

```sh
$ npm install babel-plugin-dead-code-elimination
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["dead-code-elimination"]
}
```

### Via CLI

```sh
$ babel --plugins dead-code-elimination script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  plugins: ["dead-code-elimination"]
});
```

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
ilog-0.4.1 node_modules/babel-plugin-dead-code-elimination/README.md
ilog-0.4.0 node_modules/babel-plugin-dead-code-elimination/README.md
ilog-0.3.3 node_modules/babel-plugin-dead-code-elimination/README.md
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/babel-plugin-dead-code-elimination/README.md
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/babel-plugin-dead-code-elimination/README.md
es6_tilt-0.1.2 test/dummy/app/assets/javascripts/node_modules/babel-plugin-dead-code-elimination/README.md
es6_tilt-0.1.1 test/dummy/app/assets/javascripts/node_modules/babel-plugin-dead-code-elimination/README.md
es6_tilt-0.1.0 test/dummy/app/assets/javascripts/node_modules/babel-plugin-dead-code-elimination/README.md