collect-exports
Sponsors
use
runtime(ESM, CJS)
ESM
const exports = await getExportsRuntime("vue");
exports === ["ref", "KeepAlive", ...]
CJS
const exports = await getExportsRuntime("react");
exports === ["Children","Component","Fragment","Profiler","PureComponent",...];
static (ESM, CJS)
const exports = await getExportsStatic("vue");
exports === ["ref", "KeepAlive", ...]
本插件是根据anthony Fu的视频实现, 本插件只为自己记录用