Skip to content
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

[IDEA] Strip unused checks #3

Open
pangratz opened this issue Jun 26, 2015 · 2 comments
Open

[IDEA] Strip unused checks #3

pangratz opened this issue Jun 26, 2015 · 2 comments

Comments

@pangratz
Copy link
Contributor

Once there is the possibility to add custom babel-plugins to the build pipeline (see emberjs/ember-cli-babel#42 for further details), a babel plugin similar to the feature flags could be added, which would strip all version checks and only leave the code paths which satisfy the versions used in the app where this addon is added...

@hhff
Copy link
Owner

hhff commented Jun 27, 2015

100%%%%% thats the longer term plan here!

@hhff
Copy link
Owner

hhff commented Jun 27, 2015

we can probably do this in a brocolli filter actually, i don't really know where to start on that tho...

@pangratz if you have any spare cycles I'd love to see where you get with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants