Skip to content

Commit 4c9fdbe

Browse files
authored
fix(nextjs): downgrade nextjs due to known issue with bun commonjs module bundling (#1073)
1 parent db1cf8a commit 4c9fdbe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/sim/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { getMainCSPPolicy, getWorkflowExecutionCSPPolicy } from './lib/security/
77

88
const nextConfig: NextConfig = {
99
devIndicators: false,
10-
productionBrowserSourceMaps: false,
1110
images: {
1211
remotePatterns: [
1312
{
@@ -59,6 +58,7 @@ const nextConfig: NextConfig = {
5958
},
6059
experimental: {
6160
optimizeCss: true,
61+
turbopackSourceMaps: false,
6262
},
6363
...(isDev && {
6464
allowedDevOrigins: [

apps/sim/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"lenis": "^1.2.3",
9797
"lucide-react": "^0.479.0",
9898
"mammoth": "^1.9.0",
99-
"next": "15.5.0",
99+
"next": "^15.3.2",
100100
"next-runtime-env": "3.3.0",
101101
"next-themes": "^0.4.6",
102102
"openai": "^4.91.1",

bun.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
"lenis": "^1.2.3",
126126
"lucide-react": "^0.479.0",
127127
"mammoth": "^1.9.0",
128-
"next": "15.5.0",
128+
"next": "^15.3.2",
129129
"next-runtime-env": "3.3.0",
130130
"next-themes": "^0.4.6",
131131
"openai": "^4.91.1",

0 commit comments

Comments
 (0)