diff --git a/packages/core/src/config.ts b/packages/core/src/config.ts index d5c627e37..eb661e207 100644 --- a/packages/core/src/config.ts +++ b/packages/core/src/config.ts @@ -145,7 +145,9 @@ export function convertLibConfigToRsbuildConfig( } } -export async function composeCreateRsbuildConfig(rslibConfig: RslibConfig) { +export async function composeCreateRsbuildConfig( + rslibConfig: RslibConfig, +): Promise>> { const internalRsbuildConfig = await createInternalRsbuildConfig(); const { lib: libConfigsArray, ...sharedRsbuildConfig } = rslibConfig;