Post 5.0, this repository will serve for both bug fixes and improvements to phase 1 and phase 2 features.
- Phase 1 tweaks will be made available to Core as npm package updates
- Phase 2 features will be available in the plugin and protected behind feature flags
Proposed solution
- Protect phase2 features behind an environment variable
INCLUDE_PHASE2
- Enable tree-shaking in Core (it should already be the case) to make sure the dead code is removed automatically when bundling the scripts.
- The build process of the plugin repository should ensure the env variable is set to include the said features.
Thoughts?
Post 5.0, this repository will serve for both bug fixes and improvements to phase 1 and phase 2 features.
Proposed solution
INCLUDE_PHASE2Thoughts?