18 lines
373 B
TypeScript
18 lines
373 B
TypeScript
|
|
import path from 'node:path';
|
||
|
|
import { defineConfig } from 'vite';
|
||
|
|
import react from '@vitejs/plugin-react';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [react()],
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
'@bigtech-sucks/core': path.resolve(__dirname, '../core/src/index.ts'),
|
||
|
|
},
|
||
|
|
},
|
||
|
|
server: {
|
||
|
|
port: 5173,
|
||
|
|
proxy: {
|
||
|
|
'/api': 'http://localhost:3001',
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|