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>
19 lines
555 B
TypeScript
19 lines
555 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
// 独立域名 shop.dukanghaoke.com 部署在根路径;旧的子路径部署可显式覆盖。
|
|
base: process.env.VITE_PUBLIC_BASE ?? '/',
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@dukang/shared-ui': path.resolve(__dirname, '../../packages/shared-ui/src'),
|
|
},
|
|
},
|
|
server: {
|
|
host: true,
|
|
port: 5174,
|
|
proxy: { '/api': process.env.VITE_API_TARGET ?? 'http://localhost:3010' },
|
|
},
|
|
}); |