mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-20 23:59:55 +00:00
Merge branch 'ui-refactor' into ui-refactor-ui
This commit is contained in:
23
client/ui/frontend/vite.config.ts
Normal file
23
client/ui/frontend/vite.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import path from "path";
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import wails from "@wailsio/runtime/plugins/vite";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
"@bindings": path.resolve(
|
||||
__dirname,
|
||||
"./bindings/github.com/netbirdio/netbird/client/ui-wails",
|
||||
),
|
||||
},
|
||||
},
|
||||
plugins: [react(), wails("./bindings")],
|
||||
server: {
|
||||
host: "127.0.0.1",
|
||||
port: 9245,
|
||||
strictPort: true,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user