Skip to content
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

dx bundle requires an explicit target #3237

Open
alper opened this issue Nov 18, 2024 · 0 comments
Open

dx bundle requires an explicit target #3237

alper opened this issue Nov 18, 2024 · 0 comments

Comments

@alper
Copy link

alper commented Nov 18, 2024

I've been working with dx serve fine without specifying a command-line target (I suppose because it's already specified in Dioxus.toml).

With dx bundle it's not the same and I have to run it like this:

dx bundle --platform web --release --target wasm32-unknown-unknown

If I don't, I get a platform error:

10 | ...   compile_error!("The geolocation module is not supported on this platform....

See my issue over at sdk: DioxusLabs/sdk#51 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant