This repository has been archived on 2026-03-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
softwareengineering-2-modar.../frontend/vite.config.ts

22 lines
477 B
TypeScript

import path from "path"
import {defineConfig} from 'vite'
import preact from '@preact/preset-vite'
import tailwindcss from "@tailwindcss/vite";
// https://vite.dev/config/
export default defineConfig({
plugins: [preact(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src")
}
},
// server: {
// proxy: {
// '/api': {
// target: 'http://localhost:8080',
// changeOrigin: true,
// }
// }
// }
})