SvelteStack / svelte-query

Performant and powerful remote data synchronization for Svelte
https://sveltequery.vercel.app
MIT License
814 stars 31 forks source link

Are we really using the original .svelte files? #26

Closed frederikhors closed 3 years ago

frederikhors commented 3 years ago

I know that when in package.json there is the "svelte": "svelte/index.js" field the Svelte project that uses that package must use the original source code and not the final bundle in dist.

I tried to manually delete the dist folder from node_modules/@sveltestack/svelte-query and the project doesn't start anymore because it wants that folder.

Is this right or are we doing something wrong?

I would like to use the .svelte files directly and then build them in my build process. This is one of the very tasty things about Svelte.

Am I wrong?

frederikhors commented 3 years ago

It works if you put @sveltestack/svelte-query in depenencies.