generated from Merieli/scaffolding-proj-vue3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vite.config.ts
23 lines (20 loc) · 844 Bytes
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { resolve } from 'path';
import vue from '@vitejs/plugin-vue';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': resolve(__dirname, './src'),
'@assets': resolve(__dirname, './src/assets'),
'@components': resolve(__dirname, './src/components'),
'@views': resolve(__dirname, './src/views'),
'@composables': resolve(__dirname, './src/composables'),
'@domain': resolve(__dirname, './src/domain'),
'@http': resolve(__dirname, './src/infrastructure/http'),
'@store': resolve(__dirname, './src/infrastructure/store'),
'@helpers': resolve(__dirname, './src/infrastructure/helpers'),
test: resolve(__dirname, './test/unit'),
},
},
});