ConsoleTVs / sswr

🔥 Svelte stale while revalidate (SWR) data fetching strategy
MIT License
234 stars 11 forks source link

add svelte field in package.json #18

Closed frederikhors closed 3 years ago

frederikhors commented 3 years ago

Working on my PC with npm link SvelteKit and Vite complained with this error:

image

Adding the "svelte" field fixes this.

ConsoleTVs commented 3 years ago

Don't we need to expose package.json as well in the files array?

frederikhors commented 3 years ago

Why? I don't think so.