UNPKG

telefunc

Version:

Remote functions. Instead of API.

9 lines (8 loc) 451 B
export { transformTelefuncFileClientSide }; import { getExportList } from './getExportList.js'; import { transformTelefuncFileClientSideSync } from './transformTelefuncFileClientSideSync.js'; async function transformTelefuncFileClientSide(src, id, appRootDir) { const exportList = await getExportList(src); const exportNames = exportList.map((e) => e.exportName); return transformTelefuncFileClientSideSync(id, appRootDir, exportNames); }