Fixes more linter errors

This commit is contained in:
Rune Harlyk
2025-07-10 21:52:02 +02:00
committed by Rune Harlyk
parent 211ff7205b
commit 7d79ec39ab
4 changed files with 59 additions and 45 deletions
+13 -16
View File
@@ -1,30 +1,27 @@
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';
export default defineConfig({
plugins: [
tailwindcss(),
sveltekit(),
Icons({
compiler: 'svelte'
compiler: 'svelte',
}),
viteLittleFS(),
EnvCaster()
EnvCaster(),
],
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
},
server: {
proxy: {
'/api': {
target: 'http://spot-micro.local/',
changeOrigin: true,
ws: true
}
}
}
})
ws: true,
},
},
},
});