mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
Upgrade wasmer js
This commit is contained in:
@@ -36,6 +36,7 @@ const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
swcMinify: !isProduction,
|
||||
webpack: (config) => {
|
||||
config.externals.push("wasmer_wasi_js_bg.wasm");
|
||||
config.plugins.push(
|
||||
new webpack.NormalModuleReplacementPlugin(/node:/, (resource) => {
|
||||
const mod = resource.request.replace(/^node:/, "");
|
||||
|
||||
Reference in New Issue
Block a user