Sveltekit under-the-hood magic fix, need postcss preprocess first, include .svelte-kit/
This commit is contained in:
parent
6fd945c6cd
commit
cf83932f20
|
@ -17,10 +17,11 @@ const config = {
|
|||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: [
|
||||
vitePreprocess(),
|
||||
preprocess({
|
||||
postcss: true
|
||||
}),
|
||||
vitePreprocess(),
|
||||
|
||||
// No neeed rn unless using mdsvex highlighter with svelte components
|
||||
//mdsvexGlobalComponents({
|
||||
// dir: `$lib/components/blog`,
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"sourceMap": true
|
||||
},
|
||||
"include": ["./scripts/**/*", "./test/*.js", "./*.js"],
|
||||
"exclude": ["node_modules/*", ".svelte-kit/*"]
|
||||
"exclude": ["node_modules/*"]
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
//
|
||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||
|
|
Loading…
Reference in New Issue