New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage babel-plugin-minify-dead-code-elimination #181

Open
mixonic opened this Issue Mar 25, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@mixonic
Contributor

mixonic commented Mar 25, 2017

#180 introduces https://github.com/chadhietala/babel-plugin-debug-macros for feature flagging. This library will translate feature flags to true false literals, however it will not strip dead code paths.

This project should strip dead code via https://github.com/babel/babili/tree/master/packages/babel-plugin-minify-dead-code-elimination in a manner similar to @chadhietala's PR to Ember: emberjs/ember.js#15043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment