diff --git a/next.config.js b/next.config.js index 3665ee8b..3652030d 100644 --- a/next.config.js +++ b/next.config.js @@ -57,7 +57,8 @@ module.exports = withPlausibleProxy()({ }, compress: false, experimental: { - scrollRestoration: true + scrollRestoration: true, + serverSourceMaps: true }, reactStrictMode: true, productionBrowserSourceMaps: true, diff --git a/package.json b/package.json index e8d22ce3..77bf38d4 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "NODE_OPTIONS='--trace-warnings' next dev", + "dev": "NODE_OPTIONS='--trace-warnings --enable-source-maps' next dev", "build": "next build", "migrate": "prisma migrate deploy", "start": "NODE_OPTIONS='--trace-warnings --max-old-space-size=4096 --max-semi-space-size=128' next start -p $PORT --keepAliveTimeout 120000",