You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add component domain utilities for asset manifest optimization (#211)
* Add component_names_used_in_template accessor to ComponentRegistry
This commit adds a new accessor method to ComponentRegistry to get the component names used in a template.
The method returns the raw component names rather than Component objects, which will be useful for the
upcoming Asset manifest refactoring.
Refactors get_component_usage to use the new method, improving code reuse.
* Update CHANGELOG.md for new ComponentRegistry method
* Add get_component_assets utility function to staticfiles.py
This utility function makes it easy to get assets for a component with optional filtering by type.
This will be useful for the upcoming asset manifest implementation.
* Update CHANGELOG.md for get_component_assets function
0 commit comments