Skip to content

Feature flag to separate Phase 2 features from packages updates targeted as Core fixes/polish. #11016

@youknowriad

Description

@youknowriad

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrameworkIssues related to broader framework topics, especially as it relates to javascript[Type] Build ToolingIssues or PRs related to build tooling[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions