fixing line numbers on error traces in development (#2413)
Co-authored-by: porygone-z <porygone-z@kali>
This commit is contained in:
		
							parent
							
								
									21a9696ea0
								
							
						
					
					
						commit
						d9d968f0fa
					
				@ -57,7 +57,8 @@ module.exports = withPlausibleProxy()({
 | 
			
		||||
  },
 | 
			
		||||
  compress: false,
 | 
			
		||||
  experimental: {
 | 
			
		||||
    scrollRestoration: true
 | 
			
		||||
    scrollRestoration: true,
 | 
			
		||||
    serverSourceMaps: true
 | 
			
		||||
  },
 | 
			
		||||
  reactStrictMode: true,
 | 
			
		||||
  productionBrowserSourceMaps: true,
 | 
			
		||||
 | 
			
		||||
@ -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",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user