260319:0856 Fix UUID #18
Build and Deploy / deploy (push) Successful in 8m38s

This commit is contained in:
admin
2026-03-19 08:56:45 +07:00
parent 06b578ee11
commit e8bdd7d7fc
4 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
ENV NODE_OPTIONS="--max-old-space-size=2048"
ENV NEXT_TELEMETRY_DISABLED=1
# Build Next.js → frontend/.next/standalone
RUN cd frontend && pnpm run build
# Build Next.js → frontend/.next/standalone (use webpack to avoid Turbopack issues)
RUN cd frontend && pnpm run build --webpack
# =========================
+4 -5
View File
@@ -36,13 +36,12 @@ const nextConfig = {
},
*/
// 5. Experimental: Handle client component static generation issues
experimental: {
// Disable static optimization for client components that cause build failures
missingSuspenseWithCSRBailout: false,
// 5. Turbopack config for Next.js 16
turbopack: {
// Empty config to silence Turbopack warnings
},
// 5.1. Webpack config to suppress warnings
// 5.1. Webpack config (fallback for Turbopack)
webpack: (config, { dev, isServer }) => {
if (!dev && !isServer) {
config.stats = {