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