blurhash-rust-wasm icon indicating copy to clipboard operation
blurhash-rust-wasm copied to clipboard

Webpack 5 Issue

Open UtkarshChandel opened this issue 4 years ago • 0 comments

Error: The module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack. BREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature. You need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated). For files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: "webassembly/async"'). (Source code omitted for this binary file)

Running on Win10 x64 Framework : Next.js 11 (Webpack 5)

UtkarshChandel avatar Jun 17 '21 05:06 UtkarshChandel