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

fix: use default CJS imports from `dayjs` instead of ESM #13

Closed metonym closed 2 years ago

metonym commented 2 years ago

I started running into a similar issue outlined in #9.

I linked the package locally and changed the dayjs imports to use CJS instead of ESM. This lets SvelteKit/vite automatically optimize the imports.

render[bot] commented 2 years ago

Your Render PR Server URL is https://svelte-time-pr-13.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-ca0hluqrrk0donodkpig.