We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f6e3f6 commit 82a944fCopy full SHA for 82a944f
1 file changed
packages/rstack/src/config.ts
@@ -1,4 +1,4 @@
1
-import { loadConfig, type LoadConfigResult } from '@rstackjs/load-config';
+import { loadConfig } from '@rstackjs/load-config';
2
import type { RsbuildConfigDefinition } from '@rsbuild/core';
3
import type { RslibConfigDefinition } from '@rslib/core';
4
import type { RslintConfig } from '@rslint/core';
@@ -18,8 +18,10 @@ export type Configs = {
18
staged?: StagedConfig;
19
};
20
21
-type LoadedRstackConfig = Pick<LoadConfigResult, 'filePath' | 'dependencies'> & {
+type LoadedRstackConfig = {
22
configs: Configs;
23
+ filePath: string | null;
24
+ dependencies: string[];
25
26
27
type ConfigState = {
0 commit comments