Skip to content

Minimizing size of Dotnet WebAssembly Browser app #87617

@sps014

Description

@sps014

Hello, I have Dotnet WebAssembly Browser app. The size of default dotnet.native.wasm with .Net 8 preview 5 is 2.8 MB.

On other hand In blazor WebAssembly app we can have PublishTrimmed and TrimMode to reduce the size to 300-400 KB. These 2 properties do not have effect on Web Assembly Browser app. Trimming doesn't takes place. Also Is there way to trim timezone and other data.

Is there any way to allow trimming to get smaller dotnet wasm in Web assembly browser application? Is there any roadmap for it similar to blazor size reduction tasks?

Thanks

Metadata

Metadata

Assignees

Labels

arch-wasmWebAssembly architecturearea-VM-meta-mononeeds-further-triageIssue has been initially triaged, but needs deeper consideration or reconsideration

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions