enable webpackMemoryOptimizations
All checks were successful
Deploy / deploy (push) Successful in 2m17s

This commit is contained in:
Lee 2024-09-25 03:42:02 +01:00
parent b605b7f9aa
commit 097a2aa63f

@ -8,6 +8,9 @@ const __dirname = path.dirname(__filename); // get the name of the directory
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
experimental: {
webpackMemoryOptimizations: true,
},
env: { env: {
NEXT_PUBLIC_BUILD_ID: process.env.GIT_REV || nextBuildId.sync({ dir: __dirname }), NEXT_PUBLIC_BUILD_ID: process.env.GIT_REV || nextBuildId.sync({ dir: __dirname }),
NEXT_PUBLIC_BUILD_TIME: new Date().toLocaleDateString("en-US", { NEXT_PUBLIC_BUILD_TIME: new Date().toLocaleDateString("en-US", {