Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

SomaticIT
Copy link
Collaborator

@SomaticIT SomaticIT commented Apr 5, 2021

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
Copy link
Collaborator

This is extremely useful!

@amen-souissi
Copy link
Collaborator

Yes. 🙏

@amen-souissi amen-souissi merged commit d877cea into SvelteStack:main Apr 7, 2021
@SomaticIT SomaticIT deleted the fix-vite-map-warning branch April 7, 2021 16:15
@SomaticIT
Copy link
Collaborator Author

Thanks @amen-souissi for merging this.

@frederikhors
Copy link
Collaborator

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

@amen-souissi
Copy link
Collaborator

V1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vite] Failed to load source map for /node_modules/@sveltestack/svelte-query...
3 participants