forked from DevStartGame/rest-countries-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.js
More file actions
20 lines (19 loc) · 751 Bytes
/
vite.config.js
File metadata and controls
20 lines (19 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
resolve: {
alias: {
'@/': path.resolve(__dirname, './src'),
'@/assets': path.resolve(__dirname, './src/assets'),
'@/components': path.resolve(__dirname, './src/components'),
'@/hooks': path.resolve(__dirname, './src/hooks'),
'@/layouts': path.resolve(__dirname, './src/layouts'),
'@/pages': path.resolve(__dirname, './src/pages'),
'@/services': path.resolve(__dirname, './src/services'),
'@/utils': path.resolve(__dirname, './src/utils')
}
},
plugins: [react()]
})