mirror of
https://github.com/2234839/web-font.git
synced 2025-04-06 05:25:44 +08:00
18 lines
328 B
TypeScript
18 lines
328 B
TypeScript
import { defineConfig } from "vite";
|
|
import solid from "vite-plugin-solid";
|
|
import {} from "fs";
|
|
|
|
export default defineConfig({
|
|
plugins: [solid()],
|
|
server: {
|
|
host: "0.0.0.0",
|
|
proxy: {
|
|
// with options
|
|
"/api": {
|
|
target: "http://localhost:8087",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|