Unwraps a single export from a UMD library, handling various bundle structures
Works with components, utilities, objects, functions, and any other exports
Parameters
library: any
The library object (e.g., antd, MaterialUI, XLSX)
exportName: string
Name of the export to unwrap (e.g., 'Button', 'utils', 'writeFile')
Unwraps a single export from a UMD library, handling various bundle structures Works with components, utilities, objects, functions, and any other exports