-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust #4
Comments
(Also woah https://robert.kra.hn/posts/hot-reloading-rust/ ) |
rustwasm/wasm-bindgen#2407 ouchie |
(Interesting Rust library https://github.com/rustwasm/gloo ) |
How fast is https://trunkrs.dev/ in terms of hot reloading? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Regarding the bundlers:
Well Webpack is slow, so that's not fun.
Parcel doesn't support Rust yet, so that's also a no-go parcel-bundler/parcel#3365
Rollup might work? https://github.com/wasm-tool/rollup-plugin-rust#readme
Or Vite https://github.com/rwasm/vite-plugin-rsw
Or directly using it https://rustwasm.github.io/wasm-bindgen/examples/without-a-bundler.html (maybe I need https://github.com/Menci/vite-plugin-wasm as well? There's also vitejs/vite#7763 and vitejs/vite#4551 )
Or with Esbuild https://github.com/Tschrock/esbuild-plugin-wasm-pack
Remember to improve the performance by doing https://github.com/rictic/airlock.chat#improve-build-performance and also do https://www.reddit.com/r/rust/comments/z1rtcb/compiler_option_to_make_all_panics_be_undefined/
Future things
The text was updated successfully, but these errors were encountered: