Closed blvz closed 3 years ago
Why would you use this plugin on a library?
I was developing a library/third-party script that'd have both ESM and "classic" exports (where the latter would just add itself to window
and be compatible with most browsers). What would be the correct approach then?
Without a name, the bundle exports can't be accessed.