@nadeshikon/plugin-nextjs
Version:
Run Next.js seamlessly on Netlify
14 lines (11 loc) • 307 B
JavaScript
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
}
// module.exports = nextConfig
module.exports = withBundleAnalyzer(nextConfig)