-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
WebGL example fails with unexpected section: <unknown> @+2824 #1267
Comments
Interesting, I'll try to repro it. What version of Webpack and webassemblyjs are you using? (Check npm ls). |
Before upgrading to webpack@4.29.4 I had another similar error - the same as here: #1251. |
@bwasty can you test out the latest version of wasm-pack and NPM dependencies as well to see if the issue is fixed now? |
@alexcrichton No change with
|
Indeed, Webpack's transformation breaks the Wasm module. |
@bwasty This will work if you remove the |
With rustwasm#1267 now fixed looks like we had an accidental regression sneak through in the meantime!
Looks like this is now fixed, thanks @xtuc and @sendilkumarn! |
The WebGL Example (Guide Page) fails with this error (Browser console):
I also get the same error when I copy the code to my project that is based on
wasm-pack-template
.The text was updated successfully, but these errors were encountered: