rsnext/packages/next-bundle-analyzer/index.d.ts
JJ Kasper 115b6ad953
Allow configuring analyzerMode in bundle-analyzer (#47468)
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
2023-06-14 16:33:39 -07:00

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