19fa1fa579
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
15 lines
393 B
TypeScript
15 lines
393 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
declare function NextBundleAnalyzer(options?: {
|
|
enabled?: boolean
|
|
openAnalyzer?: boolean
|
|
analyzerMode?: 'json' | 'static'
|
|
|
|
/**
|
|
* Log level. Can be 'info', 'warn', 'error' or 'silent'.
|
|
* @default 'info'
|
|
*/
|
|
logLevel?: 'info' | 'warn' | 'error' | 'silent' | undefined
|
|
}): (config?: NextConfig) => NextConfig
|
|
|
|
export = NextBundleAnalyzer
|