@rollup/browser 3.5.0-0 → 3.5.1

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.
@@ -927,3 +927,8 @@ interface AcornNode {
927
927
 
928
928
  export function defineConfig(options: RollupOptions): RollupOptions;
929
929
  export function defineConfig(options: RollupOptions[]): RollupOptions[];
930
+ export function defineConfig(optionsFunction: RollupOptionsFunction): RollupOptionsFunction;
931
+
932
+ export type RollupOptionsFunction = (
933
+ commandLineArguments: Record<string, any>
934
+ ) => MaybePromise<RollupOptions | RollupOptions[]>;