diff options
Diffstat (limited to 'svelte.config.js')
| -rw-r--r-- | svelte.config.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/svelte.config.js b/svelte.config.js new file mode 100644 index 0000000..c64ccb6 --- /dev/null +++ b/svelte.config.js @@ -0,0 +1,21 @@ +import preprocess from 'svelte-preprocess'; +import adapter from '@sveltejs/adapter-auto'; +import { vitePreprocess } from '@sveltejs/kit/vite'; + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + // Consult https://kit.svelte.dev/docs/integrations#preprocessors + // for more information about preprocessors + preprocess: [ + vitePreprocess(), + preprocess({ + postcss: true + }) + ], + + kit: { + adapter: adapter() + } +}; + +export default config; |
