ShiftSync/web/vite.config.js

15 lines
332 B
JavaScript
Raw Normal View History

2025-05-20 16:33:08 +00:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
2025-05-20 16:28:48 +00:00
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
2025-05-20 16:33:08 +00:00
resolve: {
alias: {
'@src': path.resolve(__dirname, 'src'),
2025-06-05 04:02:22 +00:00
'@components': path.resolve(__dirname, 'components')
2025-05-20 16:33:08 +00:00
},
},
});