aboutsummaryrefslogtreecommitdiffstats
path: root/svelte.config.js
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2023-02-11 21:04:43 +0100
committerivarlovlie <git@ivarlovlie.no>2023-02-11 21:04:43 +0100
commit23ab0a24ba82004fa449491b4e08698a1de9e6a0 (patch)
treed701120d9a77f67153c93149ec7871bfd571bbfb /svelte.config.js
downloadauroraklinikken.no-23ab0a24ba82004fa449491b4e08698a1de9e6a0.tar.xz
auroraklinikken.no-23ab0a24ba82004fa449491b4e08698a1de9e6a0.zip
feat: Initial commit
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js21
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;