Replies: 1 comment
-
The CLI supports wasm-opt but it's not enabled by default, unfortunately. We will likely change this behavior in a future version. Wasm-opt will shrink 2mb down to about 500k and then gzip will shrink that down to about 60k over the network. To enable wasm-opt, add this line to your DIoxus.toml: https://github.com/DioxusLabs/cli/blob/d7d4699606279798ec81304d77bb619a65a9ae78/Dioxus.toml#L45 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
dioxus create
, thendioxus build --release
creates a file of size 2 megabytes in the dist directory. Is this the norm? Somewhere in the documentation it says about 60 kilobytesBeta Was this translation helpful? Give feedback.
All reactions