diff --git a/next.config.js b/next.config.js index 69b84b3..62e4b45 100644 --- a/next.config.js +++ b/next.config.js @@ -25,6 +25,17 @@ const nextConfig = { bodySizeLimit: '2mb', }, }, + webpack: (config, { isServer }) => { + if (!isServer) { + config.resolve.fallback = { + ...config.resolve.fallback, + fs: false, + path: false, + crypto: false, + } + } + return config + }, output: 'standalone', }