0f48d7abda
Allow store contactPhone as landline, show pending package audit badge, and split live vs pending packages in HQ review. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
444 B
TypeScript
20 lines
444 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
const apiTarget = process.env.VITE_API_TARGET ?? 'http://localhost:3010';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@dukang/domain': path.resolve(__dirname, '../../packages/domain/src/index.ts'),
|
|
},
|
|
},
|
|
server: {
|
|
host: true,
|
|
port: 5175,
|
|
proxy: { '/api': apiTarget },
|
|
},
|
|
});
|