mirror of
https://github.com/NovaOSS/nova-betterchat.git
synced 2024-11-25 19:33:59 +01:00
c006ccd97a
fixes 9, fixed 10
20 lines
771 B
TypeScript
20 lines
771 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react-swc';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@icon/': new URL('./src/assets/icons/', import.meta.url).pathname,
|
|
'@type/': new URL('./src/types/', import.meta.url).pathname,
|
|
'@store/': new URL('./src/store/', import.meta.url).pathname,
|
|
'@hooks/': new URL('./src/hooks/', import.meta.url).pathname,
|
|
'@constants/': new URL('./src/constants/', import.meta.url).pathname,
|
|
'@api/': new URL('./src/api/', import.meta.url).pathname,
|
|
'@components/': new URL('./src/components/', import.meta.url).pathname,
|
|
'@utils/': new URL('./src/utils/', import.meta.url).pathname,
|
|
},
|
|
},
|
|
});
|