Next.js Discord

Discord Forum

Importing WASM module into Next.js app

Oak saucer gall posted this in #help-forum
Open in Discord
Oak saucer gallOP
Good morning,

Currently we are in the process of launching a game using Renpy SDK coded in Python. Renpy is compiled into WASM that the browser can read through HTML. Now we are wondering how we can render this WASM module in Next.js. This is an NFT-gated game. On the contrary we'd also like to hide the source files so that it's rendered by the server and shown only the WASM app to the client. Could someone point us in the right direction?

Thank you,

Smitty Newton

0 Replies