From d93f5da823785123c1d697755e2d8fc2e0a5b64a Mon Sep 17 00:00:00 2001 From: Jovells <35954298+Jovells@users.noreply.github.com> Date: Sat, 23 Dec 2023 18:32:20 +0000 Subject: [PATCH] Fix webpack configuration and update main.yml (#53) * Jovells workflow auto sync after pr merge (#4) * Update main.yml * Update main.yml * attempt to fix mobile connection issues --- frontend/nextjs/next.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/nextjs/next.config.js b/frontend/nextjs/next.config.js index 0bc7bdf..b1c3985 100644 --- a/frontend/nextjs/next.config.js +++ b/frontend/nextjs/next.config.js @@ -16,7 +16,8 @@ const nextConfig = { ], }, webpack: (config) => { - config.externals.push("pino-pretty"/*, "lokijs", "encoding"*/); + config.resolve.fallback = { fs: false, net: false, tls: false }; + config.externals.push('pino-pretty', 'lokijs', 'encoding'); return config; }, }