metonym / svelte-time

Svelte component and action to format a timestamp using day.js
https://metonym.github.io/svelte-time
MIT License
137 stars 8 forks source link

hotfix: revert back to using ESM dayjs exports #14

Closed metonym closed 2 years ago

metonym commented 2 years ago

This reverts https://github.com/metonym/svelte-time/pull/13/commits/fdba93a4e55e23cdb62fd8173a181f9dddcac971 from #13.

Unfortunately, v0.6.2 still causes dev/build issues.

User @imbolc kindly pointed out that this is a known issue with dayjs.

The next step would be to try using dayjs v2 in this component library and publish it using the next tag.