import type { NextConfig } from 'next' import path from 'path' const nextConfig: NextConfig = { /* config options here */ sassOptions: { includePaths: [path.join(__dirname, './src/styles')], }, async rewrites() { return [ { source: '/api/:path*', destination: `${process.env.NEXT_PUBLIC_API_URL}/api/:path*`, }, ] }, } export default nextConfig