SvelteStack / svelte-query

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

fix(build): remove sourceMappingURL from svelte build #32

Closed SomaticIT closed 3 years ago

SomaticIT commented 3 years ago

Hi,

This lib is excellent, I use it on a real world project and it helps a lot with query management.

After a couple of month using it, I have few suggestions and feedbacks about the lib. I will try to help by contributing with some PRs.

Here is the first one.

During the build, this lib preprocess svelte files before packaging but the typescript preprocessor is relying on the tsconfig.json base file of the project so it produces sourceMaps files (which are not exported).

This PRs fixes that behavior by passing the typescript preprocessor the good file to use.

Fixes #27

frederikhors commented 3 years ago

This is extremely useful!

amen-souissi commented 3 years ago

Yes. 🙏

SomaticIT commented 3 years ago

Thanks @amen-souissi for merging this.

frederikhors commented 3 years ago

@amen-souissi I can help you release this. You can give me permissions and I'll do it asap. 😃

amen-souissi commented 3 years ago

V1.3.2