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

Convert from cargo-web to wasm-pack #24

Merged
merged 26 commits into from
Sep 27, 2022
Merged

Convert from cargo-web to wasm-pack #24

merged 26 commits into from
Sep 27, 2022

Conversation

shanemadden
Copy link
Collaborator

Based on #23 - switches cargo-screeps from wrapping cargo-web to wasm-pack in preparation for conversion of toolchain from cargo-web+stdweb to wasm-pack+bindgen. See here for usage notes.

@hansihe
Copy link

hansihe commented Jan 23, 2021

I gave this a go, but it seems to fail on error: error: multiple js files found in [...] for me.

Seems to come from this line: https://github.com/rustyscreeps/cargo-screeps/blob/bindgen/src/build.rs#L59

This makes sense since there is both a _bg.js and a .js file generated by wasm-bindgen.

Does this branch work for you?

@shanemadden shanemadden mentioned this pull request Jun 20, 2021
@Siprj
Copy link

Siprj commented Oct 28, 2021

Hey! How is this draft doing? How can I help to push it forward? :)

@cemlyn007
Copy link

Is there any way I can help?

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.

5 participants