rollup 0.67.3 → 0.68.2
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/CHANGELOG.md +113 -12
- package/bin/rollup +5 -5
- package/dist/rollup.browser.es.js +3 -3
- package/dist/rollup.browser.js +3 -3
- package/dist/rollup.d.ts +15 -4
- package/dist/rollup.es.js +6123 -5106
- package/dist/rollup.js +6121 -5104
- package/package.json +23 -38
package/dist/rollup.d.ts
CHANGED
|
@@ -102,6 +102,14 @@ export interface PluginContext {
|
|
|
102
102
|
getAssetFileName: (assetId: string) => string;
|
|
103
103
|
warn(warning: RollupWarning | string, pos?: { line: number; column: number }): void;
|
|
104
104
|
error(err: RollupError | string, pos?: { line: number; column: number }): void;
|
|
105
|
+
moduleIds: IterableIterator<string>;
|
|
106
|
+
getModuleInfo: (
|
|
107
|
+
moduleId: string
|
|
108
|
+
) => {
|
|
109
|
+
id: string;
|
|
110
|
+
isExternal: boolean;
|
|
111
|
+
importedIds: string[];
|
|
112
|
+
};
|
|
105
113
|
}
|
|
106
114
|
|
|
107
115
|
export interface PluginContextMeta {
|
|
@@ -237,12 +245,11 @@ export interface InputOptions {
|
|
|
237
245
|
moduleContext?: string | ((id: string) => string) | { [id: string]: string };
|
|
238
246
|
watch?: WatcherOptions;
|
|
239
247
|
experimentalCodeSplitting?: boolean;
|
|
240
|
-
experimentalDynamicImport?: boolean;
|
|
241
248
|
experimentalTopLevelAwait?: boolean;
|
|
242
249
|
inlineDynamicImports?: boolean;
|
|
243
250
|
preserveSymlinks?: boolean;
|
|
244
251
|
experimentalPreserveModules?: boolean;
|
|
245
|
-
|
|
252
|
+
experimentalOptimizeChunks?: boolean;
|
|
246
253
|
chunkGroupingSize?: number;
|
|
247
254
|
shimMissingExports?: boolean;
|
|
248
255
|
|
|
@@ -363,13 +370,17 @@ export interface RenderedModule {
|
|
|
363
370
|
}
|
|
364
371
|
|
|
365
372
|
export interface RenderedChunk {
|
|
373
|
+
dynamicImports: string[];
|
|
374
|
+
exports: string[];
|
|
375
|
+
facadeModuleId: string | null;
|
|
366
376
|
fileName: string;
|
|
367
|
-
isEntry: boolean;
|
|
368
377
|
imports: string[];
|
|
369
|
-
|
|
378
|
+
isDynamicEntry: boolean;
|
|
379
|
+
isEntry: boolean;
|
|
370
380
|
modules: {
|
|
371
381
|
[id: string]: RenderedModule;
|
|
372
382
|
};
|
|
383
|
+
name: string;
|
|
373
384
|
}
|
|
374
385
|
|
|
375
386
|
export interface OutputChunk extends RenderedChunk {
|