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

Specify path to wasm bindgen in island macro #2387

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

Baptistemontan
Copy link
Contributor

#[wasm_bingen] expect to find wasm_bindgen as a root module, this can cause an error when compiling island if wams_bindgen is not a dependencie of the project.

This PR add #[wasm_bindgen(wasm_bindgen = leptos::wasm_bingen)] to tell the macro where to find the module.

close #2312

@gbj gbj merged commit 5b40881 into leptos-rs:main Mar 1, 2024
44 of 60 checks passed
@gbj
Copy link
Collaborator

gbj commented Mar 1, 2024

Thanks very much! 🎉

@Baptistemontan Baptistemontan deleted the island_wasm_bindgen_import branch March 1, 2024 15:30
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

Successfully merging this pull request may close these issues.

wasm_bindgen assumed to exist with #[island]
2 participants