diff --git a/packages/rstack/src/config.ts b/packages/rstack/src/config.ts index 3b116b6..81fa02f 100644 --- a/packages/rstack/src/config.ts +++ b/packages/rstack/src/config.ts @@ -1,4 +1,4 @@ -import { loadConfig, type LoadConfigResult } from '@rstackjs/load-config'; +import { loadConfig } from '@rstackjs/load-config'; import type { RsbuildConfigDefinition } from '@rsbuild/core'; import type { RslibConfigDefinition } from '@rslib/core'; import type { RslintConfig } from '@rslint/core'; @@ -18,8 +18,10 @@ export type Configs = { staged?: StagedConfig; }; -type LoadedRstackConfig = Pick & { +type LoadedRstackConfig = { configs: Configs; + filePath: string | null; + dependencies: string[]; }; type ConfigState = {