@rollup/browser 3.15.1-0 → 3.16.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.
package/dist/rollup.browser.d.ts
CHANGED
|
@@ -52,8 +52,9 @@ export interface ExistingDecodedSourceMap {
|
|
|
52
52
|
names: string[];
|
|
53
53
|
sourceRoot?: string;
|
|
54
54
|
sources: string[];
|
|
55
|
-
sourcesContent?: string[];
|
|
55
|
+
sourcesContent?: (string | null)[];
|
|
56
56
|
version: number;
|
|
57
|
+
x_google_ignoreList?: number[];
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
export interface ExistingRawSourceMap {
|
|
@@ -62,8 +63,9 @@ export interface ExistingRawSourceMap {
|
|
|
62
63
|
names: string[];
|
|
63
64
|
sourceRoot?: string;
|
|
64
65
|
sources: string[];
|
|
65
|
-
sourcesContent?: string[];
|
|
66
|
+
sourcesContent?: (string | null)[];
|
|
66
67
|
version: number;
|
|
68
|
+
x_google_ignoreList?: number[];
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
export type DecodedSourceMapOrMissing =
|
|
@@ -79,7 +81,7 @@ export interface SourceMap {
|
|
|
79
81
|
mappings: string;
|
|
80
82
|
names: string[];
|
|
81
83
|
sources: string[];
|
|
82
|
-
sourcesContent: string[];
|
|
84
|
+
sourcesContent: (string | null)[];
|
|
83
85
|
version: number;
|
|
84
86
|
toString(): string;
|
|
85
87
|
toUrl(): string;
|
|
@@ -507,13 +509,17 @@ export type SourcemapPathTransformOption = (
|
|
|
507
509
|
relativeSourcePath: string,
|
|
508
510
|
sourcemapPath: string
|
|
509
511
|
) => string;
|
|
512
|
+
export type SourcemapIgnoreListOption = (
|
|
513
|
+
relativeSourcePath: string,
|
|
514
|
+
sourcemapPath: string
|
|
515
|
+
) => boolean;
|
|
510
516
|
|
|
511
517
|
export type InputPluginOption = MaybePromise<Plugin | NullValue | false | InputPluginOption[]>;
|
|
512
518
|
|
|
513
519
|
export interface InputOptions {
|
|
514
520
|
acorn?: Record<string, unknown>;
|
|
515
521
|
acornInjectPlugins?: (() => unknown)[] | (() => unknown);
|
|
516
|
-
cache?:
|
|
522
|
+
cache?: boolean | RollupCache;
|
|
517
523
|
context?: string;
|
|
518
524
|
experimentalCacheExpiry?: number;
|
|
519
525
|
external?: ExternalOption;
|
|
@@ -683,6 +689,7 @@ export interface OutputOptions {
|
|
|
683
689
|
sourcemapBaseUrl?: string;
|
|
684
690
|
sourcemapExcludeSources?: boolean;
|
|
685
691
|
sourcemapFile?: string;
|
|
692
|
+
sourcemapIgnoreList?: SourcemapIgnoreListOption;
|
|
686
693
|
sourcemapPathTransform?: SourcemapPathTransformOption;
|
|
687
694
|
strict?: boolean;
|
|
688
695
|
systemNullSetters?: boolean;
|
|
@@ -736,6 +743,7 @@ export interface NormalizedOutputOptions {
|
|
|
736
743
|
sourcemapBaseUrl: string | undefined;
|
|
737
744
|
sourcemapExcludeSources: boolean;
|
|
738
745
|
sourcemapFile: string | undefined;
|
|
746
|
+
sourcemapIgnoreList: SourcemapIgnoreListOption | undefined;
|
|
739
747
|
sourcemapPathTransform: SourcemapPathTransformOption | undefined;
|
|
740
748
|
strict: boolean;
|
|
741
749
|
systemNullSetters: boolean;
|