Conversation
|
I've tried to run with Webpack v5 with webpack-cli@4.1.0 and I got error: Error: Cannot find module 'webpack-cli/bin/config-yargs' The solution: changing npm start script from: |
|
It seems that the webpack-dev-server is not fully compatible yet webpack/webpack-dev-server#2807. I can confirm that |
@Swaagie I can't seem to get this working, I get the error: "ReferenceError: Cannot access '__wbindgen_string_new' before initialization" unless I use Is there a way to configure wasm-pack so that we can use asyncWebAssembly instead? |
|
@JohnForster this is likely an issue in the code that wasm-bindgen generates. |
Trying out the template with the recent webpack 5, it looks like the following change to the config is required to enable WebAssembly.
Thanks!