Skip to content

Update logic for upgrading SPFx projects to v1.14 #4060

@waldekmastykarz

Description

@waldekmastykarz

Related to #3665

When upgrading projects to v1.14 change the update logic to suggest creating a feature for each component. The ID of the feature should match the ID of the component. Each feature must use the componentIds property to reference the component it belongs to. This recommendation should be only present if there are no features defined in the package-solution.json file.

In v1.14 SPFx introduced a different way of using features with components in the project. Where previous versions would by default use a separate feature for each component, v1.14+ uses one feature for all components.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions