When using the builded version the function quantize(rgba, maxColors, opts = {}) doesn't have a default parameter for "opts", if you call quantize() without options it breaks the execution:
Cannot read property 'useSqrt' of undefined (opts is undefined, no default parameter)
If i build it manually it doesn't happen, tested with unpkg and repo master dist folder versions.
When using the builded version the function quantize(rgba, maxColors, opts = {}) doesn't have a default parameter for "opts", if you call quantize() without options it breaks the execution:
Cannot read property 'useSqrt' of undefined (opts is undefined, no default parameter)
If i build it manually it doesn't happen, tested with unpkg and repo master dist folder versions.
https://github.com/mattdesl/gifenc/blob/a5a5df24234a47693f499ce375b4b8a1676132a8/dist/gifenc.js#L359