Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Aug 19, 2024

The Vite-based development server now provides support for serving individual component stylesheets both with and without emulated view encapsulation. This capability is not yet used by the Angular runtime code. The ability to use external stylesheets instead of bundling the style content is an enabling capability primarily for automatic component style HMR features. Additionally, it has potential future benefits for development mode deferred style processing which may reduce the initial build time when using the development server. The application build itself also does not yet generate external stylesheets.

@clydin clydin added the target: major This PR is targeted for the next major release label Aug 19, 2024
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Aug 19, 2024
@alan-agius4 alan-agius4 marked this pull request as ready for review August 19, 2024 15:56
@alan-agius4 alan-agius4 marked this pull request as draft August 19, 2024 16:08
@clydin clydin force-pushed the dev-server/component-styles branch from 764708f to a829879 Compare September 10, 2024 18:17
@clydin clydin removed the state: WIP label Sep 10, 2024
@clydin clydin force-pushed the dev-server/component-styles branch from a829879 to a374690 Compare September 10, 2024 18:28
@clydin clydin changed the title feat(@angular/build): support dev server direct component style serving refactor(@angular/build): support dev server direct component style serving Sep 10, 2024
@clydin clydin force-pushed the dev-server/component-styles branch from a374690 to 2b37d27 Compare September 10, 2024 19:38
@angular-robot angular-robot bot removed the detected: feature PR contains a feature commit label Sep 10, 2024
@clydin clydin marked this pull request as ready for review September 10, 2024 19:39
@clydin clydin force-pushed the dev-server/component-styles branch 2 times, most recently from 35ff2d4 to 584faba Compare September 11, 2024 13:36
@clydin clydin requested a review from alan-agius4 September 11, 2024 14:03
@clydin clydin force-pushed the dev-server/component-styles branch 2 times, most recently from 9712dc6 to 92de505 Compare September 11, 2024 14:08
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 11, 2024
…erving

The Vite-based development server now provides support for serving individual
component stylesheets both with and without emulated view encapsulation. This
capability is not yet used by the Angular runtime code. The ability to use
external stylesheets instead of bundling the style content is an enabling
capability primarily for automatic component style HMR features. Additionally,
it has potential future benefits for development mode deferred style processing
which may reduce the initial build time when using the development server. The
application build itself also does not yet generate external stylesheets.
@clydin clydin force-pushed the dev-server/component-styles branch from 92de505 to 9f7e2c4 Compare September 12, 2024 10:34
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 12, 2024
@alan-agius4 alan-agius4 merged commit 434979a into angular:main Sep 12, 2024
31 checks passed
@clydin clydin deleted the dev-server/component-styles branch September 12, 2024 13:34
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/build target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants