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

feat!: minimize package structure #39

Closed metonym closed 8 months ago

metonym commented 8 months ago

The current, published NPM package structure resembles the following:

src/*
package.json

This PR revises the structure to be even shallower:

package.json
index.js
Time.svelte
...

The resulting breaking change is:

- import Time from "svelte-time/src/Time.svelte";
+ import Time from "svelte-time/Time.svelte";