interface LibConfig extends EnvironmentConfig {
format?: Format;
bundle?: boolean;
autoExtension?: boolean;
autoExternal?: AutoExternal;
redirect?: Redirect;
syntax?: Syntax;
externalHelpers?: boolean;
banner?: BannerAndFooter;
footer?: BannerAndFooter;
shims?: Shims;
dts?: Dts;
umdName?: string;
}
interface RslibConfig extends RsbuildConfig {
lib: LibConfig[];
}