Replies: 1 comment 1 reply
|
The javascript snippets get created by the wasm-bindgen-cli-support crate. They pull out JS from the source code of all dependancies. |
1 reply
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.
Has anyone built Dioxus with Bazel? If not, any advice on how to get started with this for the web/wasm dioxus build?
Here's my impression so far. Looking at the comment at cli/src/builder.rs#L25 it looks like
dxjust uses cargo to build the code targetting wasm32, so my projectsCargo.tomlfile will have all the info I need to convert the build from cargo to bazel.After that, the additional thing I need to do is replace
dx serveby having something serve an index,html and wasm. IndistI also seedioxus-webanddioxus-interpreterinassets/dioxus/snippets, where do those come from, do they depend on my project/build or are they static assets that can be pulled down and served?All reactions