@rollup/browser 4.34.8 → 4.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,7 +212,10 @@ interface ModuleInfo extends ModuleOptions {
212
212
 
213
213
  export type GetModuleInfo = (moduleId: string) => ModuleInfo | null;
214
214
 
215
- export type CustomPluginOptions = Record<string, any>;
215
+ // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style -- this is an interface so that it can be extended by plugins
216
+ export interface CustomPluginOptions {
217
+ [plugin: string]: any;
218
+ }
216
219
 
217
220
  type LoggingFunctionWithPosition = (
218
221
  log: RollupLog | string | (() => RollupLog | string),
@@ -401,7 +404,7 @@ export interface FunctionPluginHooks {
401
404
  augmentChunkHash: (this: PluginContext, chunk: RenderedChunk) => string | void;
402
405
  buildEnd: (this: PluginContext, error?: Error) => void;
403
406
  buildStart: (this: PluginContext, options: NormalizedInputOptions) => void;
404
- closeBundle: (this: PluginContext) => void;
407
+ closeBundle: (this: PluginContext, error?: Error) => void;
405
408
  closeWatcher: (this: PluginContext) => void;
406
409
  generateBundle: (
407
410
  this: PluginContext,