From 8ad59169228164a1c21454ea5590a521600f3118 Mon Sep 17 00:00:00 2001 From: lukejianu <71729102+lukejianu@users.noreply.github.com> Date: Sun, 5 Nov 2023 16:45:49 -0500 Subject: [PATCH] added externalDir feat --- packages/frontend-v2/next.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/frontend-v2/next.config.js b/packages/frontend-v2/next.config.js index 6b79a915b..74926f7ec 100644 --- a/packages/frontend-v2/next.config.js +++ b/packages/frontend-v2/next.config.js @@ -2,6 +2,11 @@ const nextConfig = { reactStrictMode: true, output: "standalone", + experimental: { + // this will allow nextjs to resolve files (js, ts, css) + // outside packages/app directory. + externalDir: true, + }, }; module.exports = nextConfig;