-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Support for wasm #5316
Support for wasm #5316
Conversation
Awesome 🙌 we should also upgrade the write-file-webpack-plugin right? As you made a PR to that? |
Yes, but it isn't published to npm yet. |
@gajus sorry for pinging you out of nowhere, but could you do a new release of write-file-webpack-plugin? Then we can fix webassembly support in development with Next.js 👍🙌 Thank you very much in advance ❤️ |
Done. |
Awesome! Thanks 🙌 |
Hmm interestingly appveyor is failing |
Hmm, the previous merge worked Maybe it has something to do with this: |
Merged this, but I think we still have to upgrade write-file-webpack-plugin |
Together with webpack/webpack-sources#42 and gajus/write-file-webpack-plugin#71 it fixes #5277
It sets the default wasm module name to
static/wasm/[modulehash].wasm
and adds the mime typeapplication/wasm
.