@rollup/browser 4.25.0-0 → 4.26.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.
@@ -512,7 +512,7 @@ export type PluginHooks = {
512
512
 
513
513
  export interface OutputPlugin
514
514
  extends Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
515
- Partial<{ [K in AddonHooks]: ObjectHook<AddonHook> }> {
515
+ Partial<Record<AddonHooks, ObjectHook<AddonHook>>> {
516
516
  cacheKey?: string;
517
517
  name: string;
518
518
  version?: string;
@@ -782,6 +782,7 @@ export interface OutputOptions {
782
782
  sourcemapFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
783
783
  sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption;
784
784
  sourcemapPathTransform?: SourcemapPathTransformOption;
785
+ sourcemapDebugIds?: boolean;
785
786
  strict?: boolean;
786
787
  systemNullSetters?: boolean;
787
788
  validate?: boolean;
@@ -836,6 +837,7 @@ export interface NormalizedOutputOptions {
836
837
  sourcemapFileNames: string | ((chunkInfo: PreRenderedChunk) => string) | undefined;
837
838
  sourcemapIgnoreList: SourcemapIgnoreListOption;
838
839
  sourcemapPathTransform: SourcemapPathTransformOption | undefined;
840
+ sourcemapDebugIds: boolean;
839
841
  strict: boolean;
840
842
  systemNullSetters: boolean;
841
843
  validate: boolean;
@@ -916,6 +918,7 @@ export interface RollupBuild {
916
918
  cache: RollupCache | undefined;
917
919
  close: () => Promise<void>;
918
920
  closed: boolean;
921
+ [Symbol.asyncDispose](): Promise<void>;
919
922
  generate: (outputOptions: OutputOptions) => Promise<RollupOutput>;
920
923
  getTimings?: () => SerializedTimings;
921
924
  watchFiles: string[];