maybe this will help the memory usage idk
All checks were successful
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m24s

This commit is contained in:
Lee 2024-10-27 10:59:41 +00:00
parent 3357939071
commit 96ab9be79a

@ -4,12 +4,11 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
experimental: { experimental: {
webpackMemoryOptimizations: true,
optimizePackageImports: ["@ssr/common", "@radix-ui/react-icons", "chart.js", "react-chartjs-2"], optimizePackageImports: ["@ssr/common", "@radix-ui/react-icons", "chart.js", "react-chartjs-2"],
staleTimes: {
dynamic: 30,
},
}, },
images: { images: {
unoptimized: true,
remotePatterns: [ remotePatterns: [
{ {
protocol: "https", protocol: "https",