configs
This commit is contained in:
parent
630841db19
commit
df51536947
|
@ -10,32 +10,17 @@ const config = {
|
|||
extensions: ['.svelte', ...(mdsvexConfig.extensions || [])],
|
||||
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
||||
// for more information about preprocessors
|
||||
preprocess: [
|
||||
preprocess({ postcss: true }),
|
||||
|
||||
// No neeed rn unless using mdsvex highlighter with svelte components
|
||||
//mdsvexGlobalComponents({
|
||||
// dir: `$lib/components/blog`,
|
||||
// list: ['CodeFence.svelte'],
|
||||
// extensions: ['.md']
|
||||
// }),
|
||||
mdsvex(mdsvexConfig)
|
||||
],
|
||||
preprocess: [preprocess({ postcss: true }), mdsvex(mdsvexConfig)],
|
||||
|
||||
vitePlugin: {
|
||||
inspector: true
|
||||
},
|
||||
kit: {
|
||||
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
|
||||
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
|
||||
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
|
||||
|
||||
adapter: adapter({
|
||||
out: 'build',
|
||||
precompress: false
|
||||
}),
|
||||
|
||||
// Aliases need tsconfig explicit inclusion
|
||||
alias: {
|
||||
$lib: './src/lib',
|
||||
$root: './',
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
"./src/**/*.ts",
|
||||
".svelte-kit/ambient.d.ts",
|
||||
".svelte-kit/types/**/$types.d.ts",
|
||||
"./csp-directives.ts"
|
||||
"./csp-directives.ts",
|
||||
"./src/content/**/*"
|
||||
],
|
||||
"exclude": ["node_modules/*"]
|
||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
||||
|
|
Loading…
Reference in New Issue