When making a release cljs build I noticed js-joda was around 700kb and then realized the malli.experimental.time namespace was pulling in all historical timezone data.
See the note at the bottom of the package for more info: https://www.npmjs.com/package/@js-joda/timezone
using the +/- 5 year range adds ~30kb.
This change requires ClojureScript users of malli to include the timezone data of their choice explicitly.
I had to convert the zone-id-gen to a function due to ZoneId now not being available until runtime.
When making a release cljs build I noticed js-joda was around 700kb and then realized the
malli.experimental.time
namespace was pulling in all historical timezone data. See the note at the bottom of the package for more info: https://www.npmjs.com/package/@js-joda/timezone using the +/- 5 year range adds ~30kb.This change requires ClojureScript users of malli to include the timezone data of their choice explicitly.
I had to convert the
zone-id-gen
to a function due toZoneId
now not being available until runtime.