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

10 lines
207 B
JavaScript
Raw Normal View History

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