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
Hi! Is there a way to call external binaries or plugins on the build outputs for things such as optimisations.
π¦ Context
The generated WASM binaries from Rust are often large and can be optimised.
I was hoping to call something like wasm-snip to optimise the build WASM outputs.
I took a quick look around to see if this can be done with Cargo configuration so Parcel doesn't need to be configured, but couldn't come up with a useful solution.
This isn't currently possible within Parcel itself, you could run it afterwards.
I'll post this on #3365 so we can consider it when Rust support will be added to Parcel 2.
β Question
Hi! Is there a way to call external binaries or plugins on the build outputs for things such as optimisations.
π¦ Context
The generated WASM binaries from Rust are often large and can be optimised.
I was hoping to call something like wasm-snip to optimise the build WASM outputs.
I took a quick look around to see if this can be done with Cargo configuration so Parcel doesn't need to be configured, but couldn't come up with a useful solution.
π» Code Sample
I used this example code.
π Your Environment
The text was updated successfully, but these errors were encountered: