mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
fix(nextjs): downgrade nextjs due to known issue with bun commonjs module bundling (#1073)
This commit is contained in:
@@ -7,7 +7,6 @@ import { getMainCSPPolicy, getWorkflowExecutionCSPPolicy } from './lib/security/
|
|||||||
|
|
||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
devIndicators: false,
|
devIndicators: false,
|
||||||
productionBrowserSourceMaps: false,
|
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
@@ -59,6 +58,7 @@ const nextConfig: NextConfig = {
|
|||||||
},
|
},
|
||||||
experimental: {
|
experimental: {
|
||||||
optimizeCss: true,
|
optimizeCss: true,
|
||||||
|
turbopackSourceMaps: false,
|
||||||
},
|
},
|
||||||
...(isDev && {
|
...(isDev && {
|
||||||
allowedDevOrigins: [
|
allowedDevOrigins: [
|
||||||
|
|||||||
@@ -96,7 +96,7 @@
|
|||||||
"lenis": "^1.2.3",
|
"lenis": "^1.2.3",
|
||||||
"lucide-react": "^0.479.0",
|
"lucide-react": "^0.479.0",
|
||||||
"mammoth": "^1.9.0",
|
"mammoth": "^1.9.0",
|
||||||
"next": "15.5.0",
|
"next": "^15.3.2",
|
||||||
"next-runtime-env": "3.3.0",
|
"next-runtime-env": "3.3.0",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "^0.4.6",
|
||||||
"openai": "^4.91.1",
|
"openai": "^4.91.1",
|
||||||
|
|||||||
2
bun.lock
2
bun.lock
@@ -125,7 +125,7 @@
|
|||||||
"lenis": "^1.2.3",
|
"lenis": "^1.2.3",
|
||||||
"lucide-react": "^0.479.0",
|
"lucide-react": "^0.479.0",
|
||||||
"mammoth": "^1.9.0",
|
"mammoth": "^1.9.0",
|
||||||
"next": "15.5.0",
|
"next": "^15.3.2",
|
||||||
"next-runtime-env": "3.3.0",
|
"next-runtime-env": "3.3.0",
|
||||||
"next-themes": "^0.4.6",
|
"next-themes": "^0.4.6",
|
||||||
"openai": "^4.91.1",
|
"openai": "^4.91.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user