Open mehulkar opened 4 years ago
Ya, we definitely have the tooling in place to do this safely.
@rwjblue, @mehulkar is it something related to @glimmer/env
? https://github.com/babel/ember-cli-babel/blob/master/index.js#L462 we have to search for global flags and replace it to FALSE for production builds?
https://github.com/emberjs/ember.js/issues/18060 may be related
I don't think so, #18060 is talking about canary features.
Talked to @pzuraq and he mentioned that it's theoretically possible to strip out ember-source code that won't be used due to optional-features. This tooling would be great incentive for apps to invest in moving in the direction the core team/communities deems as the way forward.
Not sure where this would happen, but opening here since it seems like a build time concern
(Reopening https://github.com/ember-cli/ember-cli/issues/9021)