78bdbbed1c
* Add `openAnalyzer` option to next-bundle-analyzer * Document openAnalyzer option * add type Co-authored-by: JJ Kasper <jj@jjsweb.site>
8 lines
201 B
TypeScript
8 lines
201 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const NextBundleAnalyzer =
|
|
(options?: { enabled?: boolean; openAnalyzer?: boolean }) =>
|
|
(config?: NextConfig) =>
|
|
NextConfig
|
|
|
|
export = NextBundleAnalyzer
|