https://github.com/umdjs/umd/blob/master/templates/commonjsStrict.js Can you please add build compatible with globals and AMD?
Activity
timoxley commentedon May 30, 2016
I don't use UMD but I'd accept a PR for this.
timoxley#24 making the library UMD - support for AMD and global
aaronbeall commentedon Apr 28, 2017
Related to this I just submitted a PR to update the type defs to define UMD "properly" per TS 2.0 native UMD support: #37
Interestingly the existing type-defs already expose both a global and a module.
mikemaccana commentedon Sep 6, 2017
Does anyone use AMD anymore? CommonJS is popular, .mjs / TC39 modules are coming.