A Babel 6 plugin that removes dead code, such as unreachable branches, unused labels, and constant condition elimination. Version 1.3.2 is the last release and is deprecated. It is part of the babel-minify family but was split into separate plugins: babel-plugin-minify-dead-code-elimination and babel-plugin-minify-guarded-expressions. This plugin is only compatible with Babel 6; for Babel 7, use the replacement plugins. No active development.
npm install babel-plugin-minify-dead-codeVerified import paths — ran on the pinned version, not inferred.
Add the plugin to Babel 6 configuration to remove dead code.
Replace with npm install babel-plugin-minify-dead-code-elimination babel-plugin-minify-guarded-expressions and update .babelrc.
Upgrade to Babel 7 and use the replacement plugins.
Run npm install babel-plugin-minify-dead-code --save-dev
No dependency data recorded yet.