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

Fixed the way the rust-wasm loader copies over the .wasm file. #7

Closed
wants to merge 1 commit into from
Closed

Conversation

benkonz
Copy link

@benkonz benkonz commented Mar 26, 2018

It was copying over the contents of the .wasm file with the incorrect
naming scheme, resulting in the wasm enging freaking out

Fixed the example such that:

  • it export the .cwrap function
  • it copies over the .index file to the build directory
  • the serve npm command serves the build folder
  • added the file-loader loader to the packages.json
  • added a .cargo/config for exporting emscripten functions

Updated the gitignore to ignore .vscode files

It was copying over the contents of the .wasm file with the incorrect
naming scheme, resulting in the wasm enging freaking out

Fixed the example such that:
- it export the .cwrap function
- it copies over the .index file to the build directory
- the serve npm command serves the build folder
- added the file-loader loader to the packages.json
- added a .cargo/config for exporting emscripten functions

Updated the gitignore to ignore .vscode files
@ianjsikes
Copy link
Owner

Closing in favor of #10

@ianjsikes ianjsikes closed this Jun 20, 2018
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.

None yet

2 participants