rsnext/examples/analyze-bundles/next.config.js

11 lines
248 B
JavaScript
Raw Normal View History

const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
/** @type {import('next').NextConfig} */
const nextConfig = {
// any configs you need
}
module.exports = withBundleAnalyzer(nextConfig)