bevyengine / bevyengine/bevy

Too large WebAssembly bin file

Open
#3,800 4 comments 1 reaction 0 assignees View on GitHub
C-Docs C-Performance O-Web
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

Trivial example [2d_rect](https://bevyengine.org/examples/2d/rect/) weights **13MB**.

![image](https://user-images.githubusercontent.com/7414255/151672343-738655bf-fe57-4b9b-af99-1e3b6628ee51.png)

Playing with optimization options I reached ~4 MB. Still that's too much.
Is that possible to get less than 0.5 MB?

## What solution would you like?

Excluding some features?
Putting `naga` under a feature?
More features?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.