zertosh / invariant

invariant
MIT License
1.22k stars 70 forks source link

UMD wrapper #22

Closed josh closed 7 years ago

josh commented 7 years ago

Hey @invariant,

Would love to use this great little Flow helper package on @github. But we're using an AMD based loader rather than CJS. Could the browser.js script be changed to use a more universal wrapper that supports AMD as well as CJS?

(See whitespace only diff)

Thanks, @josh