Skip to content

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

Merged
amen-souissi merged 1 commit intoSvelteStack:mainfrom
SomaticIT:fix-vite-map-warning
Apr 7, 2021
Merged

fix(build): remove sourceMappingURL from svelte build#32
amen-souissi merged 1 commit intoSvelteStack:mainfrom
SomaticIT:fix-vite-map-warning

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