sheer / vite.config.ts
barreloflube's picture
refactor: simplify deployment and remove GitHub Pages configuration
1170ca2
raw
history blame
484 Bytes
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
build: {
target: "esnext",
},
plugins: [react()],
resolve: {
alias: {
"@": resolve(__dirname, "./src"),
},
},
server: {
proxy: {
'http://localhost:11434': {
target: 'http://localhost:11434',
changeOrigin: true,
secure: false,
}
}
}
});