//#region ../../node_modules/.pnpm/rollup-plugin-visualizer@6.0.5_rolldown@1.0.0-rc.3_rollup@4.57.1/node_modules/rollup-plugin-visualizer/dist/plugin/template-types.d.ts type TemplateType = "sunburst" | "treemap" | "network" | "raw-data" | "list" | "flamegraph"; //#endregion //#region ../../node_modules/.pnpm/rollup-plugin-visualizer@6.0.5_rolldown@1.0.0-rc.3_rollup@4.57.1/node_modules/rollup-plugin-visualizer/dist/shared/create-filter.d.ts type Filter = { bundle?: string | null | undefined; file?: string | null | undefined; }; //#endregion //#region ../../node_modules/.pnpm/rollup-plugin-visualizer@6.0.5_rolldown@1.0.0-rc.3_rollup@4.57.1/node_modules/rollup-plugin-visualizer/dist/plugin/index.d.ts interface PluginVisualizerOptions { /** * The path to the template file to use. Or just a name of a file. * * @default "stats.html" */ filename?: string; /** * If plugin should emit json file with visualizer data. It can be used with plugin CLI * * @default false * @deprecated use template 'raw-data' */ json?: boolean; /** * HTML value in generated file. Ignored when `json` is true. * * @default "Rollup Visualizer" */ title?: string; /** * If plugin should open browser with generated file. Ignored when `json` or `emitFile` is true. * * @default false */ open?: boolean; openOptions?: OpenOptions; /** * Which diagram to generate. 'sunburst' or 'treemap' can help find big dependencies or if they are repeated. * 'network' can answer you why something was included. * 'flamegraph' will be familar to tools that you know already. * * @default 'treemap' */ template?: TemplateType; /** * If plugin should also calculate sizes of gzipped files. * * @default false */ gzipSize?: boolean; /** * If plugin should also calculate sizes of brotlied files. * * @default false */ brotliSize?: boolean; /** * If plugin should use sourcemap to calculate sizes of modules. By idea it will present more accurate results. * `gzipSize` and `brotliSize` does not make much sense with this option. * * @default false */ sourcemap?: boolean; /** * Absolute path where project is located. It is used to cut prefix from file's paths. * * @default process.cwd() */ projectRoot?: string | RegExp; /** * Use rollup .emitFile API to generate files. Could be usefull if you want to output to configured by rollup output dir. * When this set to true, filename options must be filename and not a path. * * @default false */ emitFile?: boolean; /** * A valid picomatch pattern, or array of patterns. If options.include is omitted or has zero length, filter will return true by * default. Otherwise, an ID must match one or more of the picomatch patterns, and must not match any of the options.exclude patterns. */ include?: Filter | Filter[]; /** * A valid picomatch pattern, or array of patterns. If options.include is omitted or has zero length, filter will return true by * default. Otherwise, an ID must match one or more of the picomatch patterns, and must not match any of the options.exclude patterns. */ exclude?: Filter | Filter[]; } //#endregion export { PluginVisualizerOptions as t };