-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathvite.config.js
More file actions
21 lines (20 loc) · 919 Bytes
/
vite.config.js
File metadata and controls
21 lines (20 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import {defineConfig} from 'vite'
import react from '@vitejs/plugin-react'
import netlify from "@netlify/vite-plugin";
import path from 'path'
export default defineConfig({
plugins: [react(), netlify()],
resolve: {
alias: {
'@': path.resolve(__dirname, 'src'),
'@components': path.resolve(__dirname, 'src/Components/Overview/SidebarContent/Content'),
'@blocks': path.resolve(__dirname, 'src/Components/Overview/SidebarContent/Blocks'),
'@animations': path.resolve(__dirname, 'src/Components/Overview/SidebarContent/Animations'),
'@pages': path.resolve(__dirname, 'src/Pages'),
'@utils': path.resolve(__dirname, 'src/Utils'),
'@store': path.resolve(__dirname, 'src/Store'),
'@shared': path.resolve(__dirname, 'src/Shared'),
'@helpers': path.resolve(__dirname, 'src/Helpers'),
}
}
})