import type { NextConfig } from 'next' const nextConfig: NextConfig = { transpilePackages: ['@innungsapp/shared'], experimental: {}, // Serve uploaded files async rewrites() { return [ { source: '/uploads/:path*', destination: '/api/uploads/:path*', }, ] }, } export default nextConfig