46361ec713
Stop auto ST from validation_error; show package prices with right-aligned layout; partner store list status/filter and onboard CS QR gate; HQ store table truncation/fixed actions; expose CS config in wechat_mini settings; bind local servers for LAN. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
513 B
TypeScript
20 lines
513 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
base: '/user/',
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@dukang/shared-ui': path.resolve(__dirname, '../../packages/shared-ui/src'),
|
|
'@dukang/shared-types': path.resolve(__dirname, '../../packages/shared-types/src'),
|
|
},
|
|
},
|
|
server: {
|
|
host: true,
|
|
proxy: {
|
|
'/api': process.env.VITE_API_TARGET ?? 'http://localhost:3010',
|
|
},
|
|
},
|
|
}); |