Skip to content

Remove experimental support for Analog SFCs #1837

@brandonroberts

Description

@brandonroberts

Which scope/s are relevant/related to the feature request?

vite-plugin-angular

Information

Analog SFCs were introduced as an alternative authoring format for Angular components without decorators, an improved developer experience, and compatibility with existing Angular conventions.

While we consider the experiment as success, it's better for the Angular ecosystem to have an officially supported authoring format. More support for SFCs requires a custom compiler, which is not something worth investing time and resources into.

This will also allow us to remove custom code from the Vite plugin, focusing on stability and performance.

Existing usage of Analog SFCs can be converted to standalone Angular components, and we will explore the option of writing the converted SFC to disk as is original Angular component to help with the migration.

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions