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.
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 indist
.I tried to manually delete the
dist
folder fromnode_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?