From 097a2aa63f5d34c7eae310d570e26a2c1797926b Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 25 Sep 2024 03:42:02 +0100 Subject: [PATCH] enable webpackMemoryOptimizations --- next.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index da632bb..1f4f1fb 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -8,6 +8,9 @@ const __dirname = path.dirname(__filename); // get the name of the directory /** @type {import('next').NextConfig} */ const nextConfig = { + experimental: { + webpackMemoryOptimizations: true, + }, env: { NEXT_PUBLIC_BUILD_ID: process.env.GIT_REV || nextBuildId.sync({ dir: __dirname }), NEXT_PUBLIC_BUILD_TIME: new Date().toLocaleDateString("en-US", {