Skip to content

achicu/babel-plugin-dead-code-elimination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-dead-code-elimination

Eliminate dead code

Installation

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

Usage

Via .babelrc (Recommended)

.babelrc

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

Via CLI

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

Via Node API

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

About

Eliminate dead code.

Resources

Stars

Watchers

Forks

Packages

No packages published