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.
19 lines
433 B
19 lines
433 B
import react from "@vitejs/plugin-react";
|
|
import { resolve } from "path";
|
|
import { defineConfig } from "vite";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
build: {
|
|
rollupOptions: {
|
|
input: resolve(__dirname, `index.html`),
|
|
},
|
|
outDir: `dist/taker`,
|
|
},
|
|
server: {
|
|
proxy: {
|
|
"/api": "http://localhost:8000",
|
|
},
|
|
},
|
|
});
|
|
|