UNPKG

mp-lens

Version:

微信小程序分析工具 (Unused Code, Dependencies, Visualization)

10 lines (9 loc) 536 B
/** * Finds potential entry points for a Mini Program project. * Includes app, pages, subPackages, and components found via usingComponents. * * @param projectRoot The absolute path to the root of the entire project. * @param miniappRoot The absolute path to the root of the miniapp source code (where app.json resides). * @returns A promise resolving to an array of entry file paths relative to the projectRoot. */ export declare function findMiniProgramEntryPoints(projectRoot: string, miniappRoot: string): Promise<string[]>;