You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to be as accurate as possible: the idea would be to include/remove from the build depending on the target environment (not to be confused with the build type).
It is rather easy for a developer to switch feature flags values when working locally (though this addon allows to earn some time). The idea is the provided route can be accessed on some integration platform (on which a production build is deployed) so product owners or testers can configure the frontend flags.
I don't know what are the best resources to learn how to achieve this. ember-composable-helpers manages a whitelist of components to include and might be a reference. This post on StackOverflow also mentions babel-plugin-filter-imports (to remove imports in code) and ember-bootstrap (which also implements a component list).
After discussing this with @GreatWizard, we believe it might not be a good idea to handle this a way that modifies the integrator application. We might instead register empty functions and empty components to decrease the build size on a given environment.
This addon is so convenient for development, but I would like it to be unavailable in production and not constribute to distro size.
The text was updated successfully, but these errors were encountered: