From 86bbefb9e3eb474bc00b0d754c01976ef3b32ae5 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Sat, 30 May 2026 05:57:31 +0330 Subject: [PATCH] Fix admin-web build: drop invalid --webpack flag on Next.js 14 The admin app runs Next.js 14.2.18, where `next build --webpack` is an unknown option (the flag only exists in Next 15+). This broke the CI admin-web image build. Other web apps stay on the flag since they're on Next 16. Co-Authored-By: Claude Sonnet 4.6 --- web/admin/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/admin/package.json b/web/admin/package.json index 42feeeb..45f3c1e 100644 --- a/web/admin/package.json +++ b/web/admin/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev -p 3102", - "build": "next build --webpack", + "build": "next build", "start": "next start -p 3102", "lint": "next lint", "typecheck": "tsc --noEmit"