The flag status in the generated build is controlled by the @ember/canary-features
package. This package exports a list of all available features and their current status.
A feature can have one of a three flags :
* true
: The feature is present and enabled: the code behind the flag is always enabled in the generated build.
* null
: The feature is present but disabled in the build output. It must be enabled at runtime.
* false
: The feature is entirely disabled: the code behind the flag is not present in the generated build.
The process of removing the feature flags from the resulting build output is handled by defeatureify
.