open-webui/vite.config.ts
Anuraag Jain 4d3754980d fix(model-selector): prevent saving empty default model
- throw a toast error when user is trying to click on `set as default` without actually choosing the model(s).
- feat: added hmr for local development. use `npm run dev` and you get the hmr when debugging.
2023-12-28 18:06:17 +02:00

10 lines
171 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
server: {
hmr: true
}
});