Toggle features to build your config
Image Optimization
Enable Next.js image optimization with sharp
Partial Prerendering
Enable partial prerendering for faster page loads
Typed Routes
Enable type-safe routing with route type generation
Transpile Packages
Transpile workspace packages for monorepo support
Server Actions
Enable React Server Actions
Strict Mode
Enable React strict mode for development
Generated configuration file
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [],
},
experimental: {
typedRoutes: true,
},
transpilePackages: ['@core/ui', '@core/icons'],
experimental: {
serverActions: true,
},
reactStrictMode: true,
};
module.exports = nextConfig;