4 ms·
I've recently used trunk for the first time. It is a huge improvement to the current way of building a Rust wasm app. For one of my apps that doesn't use trunk,
by terhechte 4y ago
I've recently used trunk for the first time. It is a huge improvement to the current way of building a Rust wasm app. For one of my apps that doesn't use trunk, I'm maintaining these two scripts to set up a system and to compile a wasm bundle:
- https://github.com/terhechte/postsack/blob/main/postsack-web/build_web.sh https://github.com/terhechte/postsack/blob/main/postsack-web...
- https://github.com/terhechte/postsack/blob/main/postsack-web/setup_web.sh https://github.com/terhechte/postsack/blob/main/postsack-web...
Trunk allows me to remove these scripts and offers live reloading of changes in my Rust code. It is a great experience. I know that there're similar tools for React etc, but I'm not aware of another tool that works this well with Rust.