From 7b379914e44583b9b097ed286b669ad244b176a1 Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Thu, 21 Dec 2023 01:26:51 +0200 Subject: Added Firestore support for both the driver app and the rider mobile app --- driver/vite.config.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'driver/vite.config.ts') diff --git a/driver/vite.config.ts b/driver/vite.config.ts index 5a33944..5790e82 100644 --- a/driver/vite.config.ts +++ b/driver/vite.config.ts @@ -1,7 +1,12 @@ -import { defineConfig } from 'vite' -import react from '@vitejs/plugin-react' +import path from "path" +import react from "@vitejs/plugin-react" +import { defineConfig } from "vite" -// https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + resolve: { + alias: { + "@": path.resolve(__dirname, "./src"), + }, + }, }) -- cgit v1.2.3