@rollup/browser 3.15.1-1 → 3.17.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
|
@@ -54,6 +54,7 @@ export interface ExistingDecodedSourceMap {
|
|
|
54
54
|
sources: string[];
|
|
55
55
|
sourcesContent?: (string | null)[];
|
|
56
56
|
version: number;
|
|
57
|
+
x_google_ignoreList?: number[];
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
export interface ExistingRawSourceMap {
|
|
@@ -64,6 +65,7 @@ export interface ExistingRawSourceMap {
|
|
|
64
65
|
sources: string[];
|
|
65
66
|
sourcesContent?: (string | null)[];
|
|
66
67
|
version: number;
|
|
68
|
+
x_google_ignoreList?: number[];
|
|
67
69
|
}
|
|
68
70
|
|
|
69
71
|
export type DecodedSourceMapOrMissing =
|
|
@@ -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;
|
|
@@ -647,6 +653,7 @@ export interface OutputOptions {
|
|
|
647
653
|
dynamicImportInCjs?: boolean;
|
|
648
654
|
entryFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
649
655
|
esModule?: boolean | 'if-default-prop';
|
|
656
|
+
/** @deprecated This option is no longer needed and ignored. */
|
|
650
657
|
experimentalDeepDynamicChunkOptimization?: boolean;
|
|
651
658
|
experimentalMinChunkSize?: number;
|
|
652
659
|
exports?: 'default' | 'named' | 'none' | 'auto';
|
|
@@ -683,6 +690,7 @@ export interface OutputOptions {
|
|
|
683
690
|
sourcemapBaseUrl?: string;
|
|
684
691
|
sourcemapExcludeSources?: boolean;
|
|
685
692
|
sourcemapFile?: string;
|
|
693
|
+
sourcemapIgnoreList?: SourcemapIgnoreListOption;
|
|
686
694
|
sourcemapPathTransform?: SourcemapPathTransformOption;
|
|
687
695
|
strict?: boolean;
|
|
688
696
|
systemNullSetters?: boolean;
|
|
@@ -701,6 +709,7 @@ export interface NormalizedOutputOptions {
|
|
|
701
709
|
dynamicImportInCjs: boolean;
|
|
702
710
|
entryFileNames: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
703
711
|
esModule: boolean | 'if-default-prop';
|
|
712
|
+
/** @deprecated This option is no longer needed and ignored. */
|
|
704
713
|
experimentalDeepDynamicChunkOptimization: boolean;
|
|
705
714
|
experimentalMinChunkSize: number;
|
|
706
715
|
exports: 'default' | 'named' | 'none' | 'auto';
|
|
@@ -736,6 +745,7 @@ export interface NormalizedOutputOptions {
|
|
|
736
745
|
sourcemapBaseUrl: string | undefined;
|
|
737
746
|
sourcemapExcludeSources: boolean;
|
|
738
747
|
sourcemapFile: string | undefined;
|
|
748
|
+
sourcemapIgnoreList: SourcemapIgnoreListOption | undefined;
|
|
739
749
|
sourcemapPathTransform: SourcemapPathTransformOption | undefined;
|
|
740
750
|
strict: boolean;
|
|
741
751
|
systemNullSetters: boolean;
|