Skip to content

refactor(builder): Tag and Skip debug variants pairs in generateLibraryPreload - #1696

Closed
maxreichmann wants to merge 3 commits into
mainfrom
fix-dbg-js-mix-in-builds-generateLibraryPreload
Closed

maxreichmann wants to merge 3 commits into
mainfrom
fix-dbg-js-mix-in-builds-generateLibraryPreload

Conversation

@maxreichmann

@maxreichmann maxreichmann commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

The generateLibraryPreload task currently does not account for special cases where a -dbg.js and its .js sibling are present.

This change implements a similar logic as in the minify task (introduced with @matz3 commit 37cfdf3) checking for such scenarios, tagging the resources accordingly and excluding the -dbg.js resources from the bundle.


Info:
#1694 adds this tag handling to the earlier task minify already. But this PR here, further hardens the CLI by adding it to generateLibraryPreload too.

@maxreichmann
maxreichmann requested a review from a team November 3, 2026 17:02
@maxreichmann

Copy link
Copy Markdown
Member Author

Closing because logic not needed / not sufficient.
Dev continues in PR #1694.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant