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
{{ message }}
Repository navigation
Enable XAML resource trimming by default for WebAssembly Release builds #26070
Turn on UnoXamlResourcesTrimming by default for WebAssembly Release builds of Uno.Sdk apps, with false as the opt-out.
Why is this needed? 🤔
Release WebAssembly builds already run ILLink, but XAML resource trimming stays off unless the app opts in, so every app ships the styles and bindable metadata of controls it never uses. On a blank app that is 1.86 MB brotli of download and 1.7 s of startup on a 4G connection. Few apps know the switch exists.
For which platforms 📱💻🖥️
WebAssembly. Android can't use it: the linker-hints pass fails with IL1034 because the app has no managed entry point. iOS disables it in the SamplesApp because of a binding problem under trimming. Both stay opt-in.
Activity