@rollup/browser 4.53.3 → 4.53.4
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
|
@@ -562,7 +562,8 @@ export type PluginHooks = {
|
|
|
562
562
|
};
|
|
563
563
|
|
|
564
564
|
export interface OutputPlugin
|
|
565
|
-
extends
|
|
565
|
+
extends
|
|
566
|
+
Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
|
|
566
567
|
Partial<Record<AddonHooks, ObjectHook<AddonHook>>> {
|
|
567
568
|
cacheKey?: string | undefined;
|
|
568
569
|
name: string;
|
|
@@ -618,8 +619,9 @@ export interface NormalizedTreeshakingOptions {
|
|
|
618
619
|
unknownGlobalSideEffects: boolean;
|
|
619
620
|
}
|
|
620
621
|
|
|
621
|
-
export interface TreeshakingOptions
|
|
622
|
-
|
|
622
|
+
export interface TreeshakingOptions extends Partial<
|
|
623
|
+
Omit<NormalizedTreeshakingOptions, 'moduleSideEffects'>
|
|
624
|
+
> {
|
|
623
625
|
moduleSideEffects?: ModuleSideEffectsOption | undefined;
|
|
624
626
|
preset?: TreeshakingPreset | undefined;
|
|
625
627
|
}
|