-
-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
Description
Describe the bug
Whenever I declare vitePreprocess as my preprocessor I get these warnings for al my pages and components
Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/lib/posts/first-post.md" points to missing source files Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/routes/+layout.svelte" points to missing source files Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/routes/+page.svelte" points to missing source files Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/lib/components/BlogCard.svelte" points to missing source files
Once I change it back to svelte-preprocess the errors go away,
Reproduction URL
https://github.com/omar-abdul/viteissue
Reproduction
Change svelte-preprocess with vitePreprocess
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
// preprocess: [preprocess({ postcss: true })],
preprocess:[vitePreprocess(),mdsvex({extensions:['.md']})],
extensions :['.svelte','.md'],
kit: {
adapter: adapter(),
},
};
Logs
shell
`Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/lib/posts/first-post.md" points to missing source files
Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/routes/+layout.svelte" points to missing source files
Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/routes/+page.svelte" points to missing source files
Sourcemap for "/mnt/Omo Stuff/from stuff/web-svelte/site/src/lib/components/BlogCard.svelte" points to missing source files`
System Info
Node version 19.3.0
NPM version 9.2.0
vite version 4.0.0
svelte-preprocess version : 4.10.7