ShiftSync/web/vite.config.js

18 lines
394 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-06-11 15:11:47 +00:00
server:{
2025-06-11 15:16:00 +00:00
allowedHosts: ['shift.code-catalyst.com']
2025-06-11 15:11:47 +00:00
},
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
},
},
});