How can I reduce the size of generated wasm file? For example when I don't need complete features, say only 2d stuff.
Current wasm in examples folder generates wasm size of 5.1 MB.
Is this already optimized with wasm-pack (wasm-pack build --target web --release)? If so, then the answer is - no, not yet. There's no way to exclude some of the engine features from builds yet.
How can I reduce the size of generated wasm file? For example when I don't need complete features, say only 2d stuff. Current wasm in examples folder generates wasm size of 5.1 MB.![image](https://user-images.githubusercontent.com/1359955/213925861-7fef9388-a413-4158-8939-13c0c63c7a61.png)