Skip to content

[WTF-2697]: Widget Bundler 11.11.0 does not copy (all) files on windows#185

Merged
weirdwater merged 4 commits into
masterfrom
fix/windows-mpk-xml
Jun 23, 2026
Merged

[WTF-2697]: Widget Bundler 11.11.0 does not copy (all) files on windows#185
weirdwater merged 4 commits into
masterfrom
fix/windows-mpk-xml

Conversation

@alihcsumer

Copy link
Copy Markdown
Contributor

Checklist
Contains unit tests ✅
Contains breaking changes ❌
Compatible with: MX 9️⃣ (11.x)
Did you update version and changelog? ✅ changelog / ❌ version
PR title properly formatted? ✅
This PR contains
Bug fix
What is the purpose of this PR?
Fix Windows builds producing an .mpk missing the widget's .xml files and icon/tile PNGs.

Relevant changes
The copy step used absolute drive-letter globs that fast-glob returns empty for on Windows, so the widget files were silently skipped; switched both rollup configs to relative globs and added an assertion in command-tests so an incomplete .mpk

What should be covered while testing?
Build on Windows and Linux; confirm the .mpk contains package.xml and .xml (and PNGs when present in src).

@alihcsumer alihcsumer requested a review from a team as a code owner June 23, 2026 07:09
@alihcsumer alihcsumer changed the title [WTF-2697] Widget Bundler 11.11.0 does not copy (all) files on windows [WTF-2697]: Widget Bundler 11.11.0 does not copy (all) files on windows Jun 23, 2026
@alihcsumer

Copy link
Copy Markdown
Contributor Author

The assertion for the mpk is used twice but it is now unified with the file assertion. Removed the misleading comment.

@alihcsumer alihcsumer force-pushed the fix/windows-mpk-xml branch from 6a5ee76 to f651e90 Compare June 23, 2026 12:15
@weirdwater weirdwater merged commit c483b98 into master Jun 23, 2026
5 checks passed
@weirdwater weirdwater deleted the fix/windows-mpk-xml branch June 23, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants