I’m running into an issue when trying to import a NodeJS library that has WASM file imports. The serverless function (when running netlify dev
) throws an error like this:
No loader is configured for ".wasm" files:
Normally, on the client side, I have asyncWebAssembly
set to true in the Webpack 5 config, but not sure if and/or how this is possible on the functions side.
Any help would be greatly appreciated!