115b6ad953
It's valid to want to output JSON instead of HTML for the bundle analyzer so we can expose this specific config the same as `openAnalyzer`. cc @mknichel
9 lines
237 B
TypeScript
9 lines
237 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
declare function NextBundleAnalyzer(options?: {
|
|
enabled?: boolean
|
|
openAnalyzer?: boolean
|
|
analyzerMode?: 'json' | 'static'
|
|
}): (config?: NextConfig) => NextConfig
|
|
|
|
export = NextBundleAnalyzer
|