aboutsummaryrefslogtreecommitdiffstats
path: root/app/svelte.config.js
diff options
context:
space:
mode:
authorivar <i@oiee.no>2025-12-10 00:17:27 +0100
committerivar <i@oiee.no>2025-12-10 00:17:27 +0100
commit57861411f37a07af3cd8fcf1520843e5a5e44bfc (patch)
tree86fdb1024fdadfcf6551cbb5da274beb791499d9 /app/svelte.config.js
downloadsparebank1-actualbudget-57861411f37a07af3cd8fcf1520843e5a5e44bfc.tar.xz
sparebank1-actualbudget-57861411f37a07af3cd8fcf1520843e5a5e44bfc.zip
Initial commit
Diffstat (limited to 'app/svelte.config.js')
-rw-r--r--app/svelte.config.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/app/svelte.config.js b/app/svelte.config.js
new file mode 100644
index 0000000..9e2462b
--- /dev/null
+++ b/app/svelte.config.js
@@ -0,0 +1,31 @@
+import adapter from '@sveltejs/adapter-node';
+import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ preprocess: vitePreprocess({
+ style: {
+ css: {
+ lightningcss: {
+ targets: ">0.2%",
+ drafts: {
+ customMedia: true
+ }
+ }
+ }
+ }
+ }),
+ kit: {
+ adapter: adapter(),
+ experimental: {
+ remoteFunctions: true
+ }
+ },
+ compilerOptions: {
+ experimental: {
+ async: true
+ }
+ }
+};
+
+export default config;