Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : MacLustr SMS Gateway8 * File : vite.config.ts9 * Repository : https://git.spboucher.ai/maclustr-sms10 * Project Website : https://sms.spboucher.ai11 * Created : 2026-11-3012 * Last Modified : 2026-11-3013 *14 * Author : Simon-Pierre Boucher15 * Position : Professor of Finance16 * Institution : Université du Québec en Outaouais (UQO)17 * Organization : SP Boucher18 * Website : https://spboucher.ai19 * Git : https://git.spboucher.ai20 *21 * Preferred Contact: admin@spboucher.ai22 * Technical Contact: dev@spboucher.ai23 * Security/Admin : admin@spboucher.ai24 *25 * Copyright (c) 202626 * Simon-Pierre Boucher27 * All rights reserved where applicable. This file is governed by the28 * applicable project license, copyright notices and relevant law.29 * Existing third-party rights and notices remain unaffected.30 *31 * License : None specified (no license file in this repository)32 *33 * Do not embed credentials, private keys, access tokens,34 * certificates or confidential personal information.35 *36 * =============================================================================37 * END OF SP BOUCHER SOURCE HEADER38 * =============================================================================39 */4041import react from "@vitejs/plugin-react"42import { defineConfig } from "vite"4344export default defineConfig({45 root: "dashboard",46 plugins: [react()],47 build: { outDir: "../dist/web", emptyOutDir: true, target: "es2022", sourcemap: false },48 server: { port: 5193, proxy: { "/api": "http://localhost:8751", "/v1": "http://localhost:8751", "/dl": "http://localhost:8751" } },49})50