Closed varp closed 6 years ago
I’ve been waiting for someone to bring this up 😁
Because I don’t know how to create multiple exports in UMD. Please make a suggestion and we’ll implement it!
I'll see what can I do 😀Thx
Any ideas @varp?
Nop. I have no time to work on it. As a workaround, I just started to use browserify
To get the browserified version, in folder packages/xhr-mock
, execute:
$ browserify --entry lib/index.js --standalone XHRMock --outfile xhr-mock.browserified.js
and use XHRMock.default
I'm using
xhr-mock.js
from unpkg.com