Skip to content

Conversation

CyberAP
Copy link
Contributor

@CyberAP CyberAP commented Aug 10, 2025

Description

This PR removes the names field from the manifest for CSS entrypoints which had incorrect CSS entrypoint names. Instead, a name field is added that uses CSS entrypoint name as-is.

Additional context: #19912 (comment)

This removes the 'names' field which had incorrect CSS entrypoint names.
Instead, a 'name' field is added that uses CSS entrypoint name as-is.
@CyberAP
Copy link
Contributor Author

CyberAP commented Aug 10, 2025

@sapphi-red hi! Based on this discussion I think names should just be removed because it seems like it's different from what Rollup does with names for OutputAssets. I managed to get the name field working properly.

@sapphi-red sapphi-red added p2-edge-case Bug, but has workaround or limited in scope (priority) feat: build labels Aug 22, 2025
@github-project-automation github-project-automation bot moved this to Discussing in Team Board Aug 22, 2025
@sapphi-red sapphi-red added this to the 7.2 milestone Aug 22, 2025
sapphi-red
sapphi-red previously approved these changes Aug 22, 2025
Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I believe removing names from CSS entries are fine and is a fix.

@sapphi-red sapphi-red changed the title fix(build): replace 'names' with unmangled 'name' for CSS assets fix(build): replace names in the manifest with unmangled name for CSS assets Sep 19, 2025
@sapphi-red
Copy link
Member

In the last team meeting, we decided to keep names field for now for compat. I've pushed a commit for that change.

@sapphi-red sapphi-red moved this from Discussing to Approved in Team Board Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: build p2-edge-case Bug, but has workaround or limited in scope (priority)
Projects
Status: Approved
Development

Successfully merging this pull request may close these issues.

3 participants