Sign in

田强 / qx-common · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • qx-common
  • .dumirc.ts
  • pref: 根据antd5 做迭代处理;以及 lodash 全局处理为按需引用
    baf50caf
    陈洋 authored
    2023-09-07 14:07:10 +0800  
    Browse Files »
.dumirc.ts 410 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import { defineConfig } from 'dumi';

export default defineConfig({
  apiParser: {},
  outputPath: 'docs-dist',
  themeConfig: {
    name: '@qx/common',
  },
  resolve: {
    // 配置入口文件路径,API 解析将从这里开始
    entryFile: './src/index.ts',
  },
  proxy: {
    '/qx-api/': {
      target: 'http://10.9.1.180',
      changeOrigin: true,
      pathRewrite: { '^': '' },
    },
  },
});