jQuery compatible (but not required) + AMD + CommonJS?
Author: alvarotrigoCreated Jul 19, 2018Updated Feb 15, 2024
I'm a bit confused with so many different UMD templates.
What if I want to build a javascript library, which can be used by itself, or together with a jQuery adaptor, and I also want it to be compatible with AMD and commonJS?
In that case, which of the UMD templates is the appropriate one?
Source: umdjs/umd