Initial commit
This commit is contained in:
14
vite.config.ts
Executable file
14
vite.config.ts
Executable file
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { baseDomain, basePort, baseUrl } from "./src/GlobalVars";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tsconfigPaths()],
|
||||
server: {
|
||||
host: baseDomain,
|
||||
port: basePort,
|
||||
},
|
||||
base: baseUrl,
|
||||
});
|
||||
Reference in New Issue
Block a user