diff --git a/svelte.config.js b/svelte.config.js index 02636d66..a2f1d641 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -6,11 +6,8 @@ import { mdsvex } from 'mdsvex' import { mdsvexConfig } from './mdsvex.config.js' import Icons from 'unplugin-icons/vite' -/** @type {import('@sveltejs/kit').Config} */ -const config = { +export default /** @type {import('@sveltejs/kit').Config} */ { extensions: ['.svelte', ...mdsvexConfig.extensions], - // Consult https://github.com/sveltejs/svelte-preprocess - // for more information about preprocessors preprocess: [ mdsvex(mdsvexConfig), preprocess({ @@ -43,5 +40,3 @@ const config = { } } } - -export default config diff --git a/tailwind.config.cjs b/tailwind.config.cjs index d5e184de..53a20d7b 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -1,7 +1,8 @@ const typography = require('@tailwindcss/typography') const daisyui = require('daisyui') -const config = { +/** @type {import('tailwindcss/tailwind-config').TailwindConfig} */ +module.exports = { content: ['./src/**/*.{html,md,js,svelte,ts}'], theme: { extend: {} @@ -11,5 +12,3 @@ const config = { themes: ['light', 'dark', 'cupcake', 'emerald', 'valentine', 'synthwave', 'halloween', 'aqua', 'dracula'] } } - -module.exports = config