@endo/module-source
Version:
Ponyfill for the SES ModuleSource and module-to-program transformer
15 lines • 556 B
TypeScript
export function makeModuleAnalyzer(babel: any): (moduleSource: string, { sourceUrl, sourceMapUrl, sourceMap, sourceMapHook }?: Options) => Readonly<{
exportAlls: readonly never[];
imports: any;
liveExportMap: any;
fixedExportMap: any;
reexportMap: any;
needsImport: boolean;
needsImportMeta: boolean;
functorSource: string;
}>;
export function makeModuleTransformer(babel: any, importer: any): {
rewrite(ss: any): any;
};
import type { Options } from './module-source.js';
//# sourceMappingURL=transform-analyze.d.ts.map