menu

Parcel

📦🚀 Blazing fast, zero configuration web application bundler

Channels
Chat
view-forward
# All channels
view-forward
# general
view-forward
# announcements
view-forward
# contributing
view-forward
# documentation
view-forward
# parcel2
view-forward
# plugins
view-forward
# rust
view-forward
Team
Posts
Members
Info

Import Rust Asset as Wasm w/o Writing "bindgen" into Bundle Loader

Hi there, I would love to import { run } from './lib.rs'; run(); and have Parcel compile my library to wasm (using wasm-pack) and then dynamically load the wasm module without writing the importsObject into the bundle loader (the approach taken by parcel-plugin-wasm.rs … and the…

thumbsup
0
message-simple
1