Open
Description
While poking around in the WebMapServiceCatalogItem.js
I noticed we're using moment.js for some of the handling around dates & time for time-enabled WMS's. I did a quick search and I can't find any other references for moment across the terriajs code base.
Moment is ~50kb minified (16kb gzipped).
There are bunch of other date & time libraries now in the js ecosystem which are more modular and could possibly be used to reduce the overall bundle size (eg luxon which was born out of moment project, or date-fns).
It might be worth a quick look at how achievable it would be and what the overall gain would be.