-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
27 lines (26 loc) · 1.18 KB
/
vite.config.ts
File metadata and controls
27 lines (26 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
import path from 'path';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), nodePolyfills()],
resolve: {
alias: {
'@appointments': path.resolve(__dirname, './src/pages/appointments'),
'@assets': path.resolve(__dirname, './src/assets'),
'@auth': path.resolve(__dirname, './src/pages/auth'),
'@config': path.resolve(__dirname, './src/config'),
'@core': path.resolve(__dirname, './src/core'),
'@dashboard': path.resolve(__dirname, './src/pages/dashboard'),
'@email': path.resolve(__dirname, './src/pages/email'),
'@layout': path.resolve(__dirname, './src/layout'),
'@lib': path.resolve(__dirname, './src/lib'),
'@microsites': path.resolve(__dirname, './src/pages/microsites'),
'@professionals': path.resolve(__dirname, './src/pages/professionals'),
'@settings': path.resolve(__dirname, './src/pages/settings'),
'@users': path.resolve(__dirname, './src/pages/users'),
'@whatsapp': path.resolve(__dirname, './src/pages/whatsapp'),
},
},
});