@devlander/collect-exports-for-bundle
Version:
Generate comprehensive export files for TypeScript/JavaScript projects with Rollup compatibility
17 lines (16 loc) • 590 B
TypeScript
import { AutoExporterOptions, Results } from '../types/module-exporter.types';
export interface MatchItem {
path: string;
functionNames: string[];
}
export interface BundleExportAsFunctionParams extends Partial<AutoExporterOptions> {
rootDir: string;
bundleAsObjectForDefaultExport?: string;
allowedExtensions: string[];
ignoredExtensions: string[];
results: Results;
excludedFolders: string[];
outputFileName?: string;
debug: boolean;
}
export declare const bundleExportAsFunction: (options: BundleExportAsFunctionParams) => Promise<string | void>;