Files
vercel__next.js/apps/bundle-analyzer/next.config.mjs
Niklas Mischkulnig 0e6f52e99b Turbopack: fix bundle-analyzer for NFT change (#93363)
We have no testing infrastructure, unfortunately

<img width="2254" height="1260" alt="Bildschirmfoto 2026-05-28 um 20 29
58"
src="https://github.com/user-attachments/assets/a9f1b646-994d-4417-98d7-160ce5249032"
/>
2026-06-02 18:24:38 +02:00

19 lines
373 B
JavaScript

const developmentRewrites = () => {
return [
{
source: '/data/:path*',
destination: 'http://localhost:4000/data/:path*',
},
]
}
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
distDir: 'dist',
rewrites:
process.env.NODE_ENV === 'development' ? developmentRewrites : undefined,
}
export default nextConfig