pomme/frontend/vite.config.js
Sam Therapy eae82fb235 scaffolding for a login page
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-03 23:44:51 +00:00

17 lines
320 B
JavaScript

import { sveltekit } from '@sveltejs/kit/vite';
/** @type {import('vite').UserConfig} */
const config = {
plugins: [sveltekit()],
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
},
server: {
proxy: {
'/api': 'http://localhost:3008',
'/swagger': 'http://localhost:3008'
}
}
};
export default config;