knip
Version:
Find and fix unused dependencies, exports and files in your TypeScript and JavaScript projects
16 lines (15 loc) • 388 B
TypeScript
type EntryDescription = Record<string, unknown>;
type Entry = Record<string, string | string[] | (EntryDescription & {
html?: boolean;
})>;
export type RsbuildConfig = {
plugins?: unknown[];
source?: {
entry?: Entry;
preEntry?: string | string[];
};
environments?: {
[k: string]: Pick<RsbuildConfig, 'plugins' | 'source'>;
};
};
export {};