🚀 Makes deploy action run

This commit is contained in:
Rune Harlyk
2025-07-10 22:34:24 +02:00
parent a3de13c619
commit 743aa073b7
4 changed files with 52 additions and 37 deletions
+16 -13
View File
@@ -1,27 +1,30 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import Icons from 'unplugin-icons/vite';
import viteLittleFS from './vite-plugin-littlefs';
import EnvCaster from '@niku/vite-env-caster';
import tailwindcss from '@tailwindcss/vite';
import { sveltekit } from '@sveltejs/kit/vite'
import { defineConfig } from 'vite'
import Icons from 'unplugin-icons/vite'
import viteLittleFS from './vite-plugin-littlefs'
import EnvCaster from '@niku/vite-env-caster'
import tailwindcss from '@tailwindcss/vite'
const basePath = process.env.BASE_PATH ?? ''
export default defineConfig({
base: basePath,
plugins: [
tailwindcss(),
sveltekit(),
Icons({
compiler: 'svelte',
compiler: 'svelte'
}),
viteLittleFS(),
EnvCaster(),
EnvCaster()
],
server: {
proxy: {
'/api': {
target: 'http://spot-micro.local/',
changeOrigin: true,
ws: true,
},
},
},
});
ws: true
}
}
}
})