Files
tout-doux/vite.config.ts
T
klemek deba8a73f9
TS Lint / Oxlint (push) Successful in 40s
TS Lint / TypeScript (push) Successful in 46s
TS Lint / ESLint (push) Successful in 46s
chore: docker compose dev
2026-06-30 23:20:58 +02:00

28 lines
701 B
TypeScript

import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import vueDevTools from "vite-plugin-vue-devtools";
import tailwindcss from "@tailwindcss/vite";
// https://vite.dev/config/
export default defineConfig({
server: {
host: "0.0.0.0",
hmr: true,
proxy: {
"/api": {
target: "http://app:5000",
changeOrigin: true,
secure: false,
},
},
},
plugins: [vue(), vueDevTools(), tailwindcss()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./resources/ts", import.meta.url)),
},
},
});