TS Lint / ESLint (push) Successful in 43s
Python Lint CI / ruff-format-check (push) Successful in 53s
Python Lint CI / ruff (push) Successful in 59s
Python Lint CI / ty (push) Successful in 59s
TS Lint / Oxlint (push) Successful in 1m57s
TS Lint / TypeScript (push) Successful in 2m17s
28 lines
707 B
TypeScript
28 lines
707 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://localhost:5000",
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
},
|
|
},
|
|
plugins: [vue(), vueDevTools(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./resources/ts", import.meta.url)),
|
|
},
|
|
},
|
|
});
|