Remove --no-mangling
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled

This commit is contained in:
Konstantin Wohlwend 2024-12-01 02:20:09 -08:00
parent 677951cc8b
commit 8c5224c3c0
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ const nextConfig = {
experimental: {
instrumentationHook: true,
serverMinification: false,
serverMinification: false, // needs to be disabled for oidc-provider to work, which relies on the original constructor names
},
async headers() {

View File

@ -8,7 +8,7 @@
"with-env": "dotenv -c development --",
"with-env:prod": "dotenv -c --",
"dev": "concurrently -n \"dev,codegen,prisma-studio\" -k \"next dev --port 8102\" \"pnpm run codegen:watch\" \"pnpm run prisma-studio\"",
"build": "pnpm run codegen && next build --no-mangling",
"build": "pnpm run codegen && next build",
"analyze-bundle": "ANALYZE_BUNDLE=1 pnpm run build",
"start": "next start --port 8102",
"codegen-prisma": "pnpm run prisma generate",