tachybase_todo/packages/core/devtools/umiConfig.d.ts
2024-06-13 15:56:43 +08:00

27 lines
595 B
TypeScript

export declare function getUmiConfig(): {
alias: Record<string, string>;
define: {
'process.env.API_BASE_URL': string;
};
proxy: {
[x: string]:
| {
target: string;
changeOrigin: boolean;
}
| {
target: string;
changeOrigin: boolean;
pathRewrite: {
[x: string]: string;
};
};
};
};
export declare function resolveTachybasePackagesAlias(config: any): {};
export declare class IndexGenerator {
constructor(outputPath: string, pluginsPath: string[]): void;
generate(): void;
}