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
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||||
// for more information about preprocessors
|
// for more information about preprocessors
|
||||||
preprocess: [
|
preprocess: [
|
||||||
vitePreprocess(),
|
|
||||||
preprocess({
|
preprocess({
|
||||||
postcss: true
|
postcss: true
|
||||||
}),
|
}),
|
||||||
|
vitePreprocess(),
|
||||||
|
|
||||||
// No neeed rn unless using mdsvex highlighter with svelte components
|
// No neeed rn unless using mdsvex highlighter with svelte components
|
||||||
//mdsvexGlobalComponents({
|
//mdsvexGlobalComponents({
|
||||||
// dir: `$lib/components/blog`,
|
// dir: `$lib/components/blog`,
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"sourceMap": true
|
"sourceMap": true
|
||||||
},
|
},
|
||||||
"include": ["./scripts/**/*", "./test/*.js", "./*.js"],
|
"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
|
// 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
|
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
||||||
|
|
Loading…
Reference in New Issue