nixin-farm/nixin_farm/frontend/rsbuild.config.ts

20 lines
455 B
TypeScript

import { defineConfig } from "@rsbuild/core";
import { pluginReact } from "@rsbuild/plugin-react";
// https://rsbuild.dev/guide/basic/configure-rsbuild
export default defineConfig({
plugins: [pluginReact()],
html: {
favicon: "src/assets/favicon.ico",
title: "Loco SaaS Starter",
},
server: {
proxy: {
"/api": {
target: "http://127.0.0.1:5150",
changeOrigin: true,
secure: false,
},
},
},
});