Skip to content

Commit

Permalink
Remove --no-mangling
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Dec 1, 2024
1 parent 677951c commit 8c5224c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/backend/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8c5224c

Please sign in to comment.