0.0.1 • Published 2 years ago
collect-exports v0.0.1
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的视频实现, 本插件只为自己记录用
License
0.0.1
2 years ago