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

Newer generated files use module_or_path rather than input #39

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

justindthomas
Copy link

It seems like wasm-bindgen may have changed at some point, but I can't identify a commit at that repository where that would be the case. Regardless, the .js files the newer versions generate seem to use module_or_path where they used input previously and that broke vite-plugin-wasm-pack. I adjusted the pattern to accommodate either situation.

I also incorporated a change from another fork to make incomingUrl more flexible. I'm not sure if that's necessary - I was grasping a bit at first since Svelte plugins are unfamiliar to me.

I also added some white space; the code felt cramped to me.

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.

1 participant