15 lines
307 B
JavaScript
15 lines
307 B
JavaScript
import withAnalyzer from '@next/bundle-analyzer'
|
|
|
|
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
const nextConfig = {
|
|
compress: true,
|
|
productionBrowserSourceMaps: true,
|
|
}
|
|
|
|
export default withAnalyzer({
|
|
enabled:
|
|
process.env.ANALYZE === 'true' && process.env.NODE_ENV !== 'production',
|
|
})(nextConfig)
|