metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

build: the UMD bundle is broken ("module.exports is readonly") #377

Closed aqrln closed 5 years ago

aqrln commented 5 years ago

Since ea972d63e2858c409b7419bd65508548a6119a08 the UMD bundle fails to load, because @babel/plugin-transform-runtime injects ESM import statements, hence changing module semantics and making module.exports readonly.