webadmin增加财务模块

This commit is contained in:
2026-07-14 15:16:41 +08:00
parent 450dc44d0e
commit d61a43cc8c
15 changed files with 1352 additions and 132 deletions
+18 -2
View File
@@ -33,10 +33,26 @@ export default defineConfig(async () => ({
framework: 'react',
compiler: {
type: 'vite',
vitePlugins: [],
vitePlugins: [
{
name: 'dukang-mini-user-vite-memory',
config() {
return {
// H5 Vite watch 预构建 Stencil 组件时峰值极易 >8GBnoDiscovery 降低冷启动成本
optimizeDeps: {
noDiscovery: true,
include: ['react', 'react-dom', 'react/jsx-runtime'],
},
build: {
sourcemap: false,
},
};
},
},
],
},
cache: {
enable: false,
enable: true,
},
mini: {
/** dev:weapp 预览模式需开启,否则 React hooks 在 Vite 下会失效 */