fix(ui): retain compatible build and test commands

(cherry picked from commit 6d58102bd7)
This commit is contained in:
Yuneng Jiang 2026-09-08 15:54:13 -07:00
parent fe58bd57f7
commit 3f1c0bd573
No known key found for this signature in database

View file

@ -7,6 +7,9 @@ const __dirname = path.dirname(__filename);
const nextConfig = {
output: "export",
experimental: {
useTypeScriptCli: false,
},
compiler: {
removeConsole: process.env.NODE_ENV === "production" ? { exclude: ["error", "warn"] } : false,
},