You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
589 B

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import svgr from "vite-plugin-svgr";
// https://vitejs.dev/config/
export default defineConfig({
base: "/",
plugins: [svgr(), react()],
server: {
proxy: {
"/account": "https://property.spatiality.website/",
"/api": "https://property.spatiality.website/",
},
},
css: {
preprocessorOptions: {
less: {
modifyVars: {
"primary-color": "#CC2222FF",
"border-radius-base": "5px",
},
javascriptEnabled: true,
},
},
},
});