text: 
  // ref: https://umijs.org/config/
  
  // const hostUrl = 'http://bbs-bc.asml.com:8080';
  const hostUrl = 'http://localhost:8111';
  
  export default {
    outputPath: 'build',
    treeShaking: true,
    plugins: [
      // ref: https://umijs.org/plugin/umi-plugin-react.html
      ['umi-plugin-react', {
        antd: true,
        dva: true,
        dynamicImport: true,
        title: 'spoker-react',
        dll: true,
        routes: {
          exclude: [],
        },
        hardSource: false,
      }],
    ],
    "proxy": {// 配置fetch 路由转发至后台API服务地址.
      "/sprint": {
        "target": `${hostUrl}`,
        "changeOrigin": true,
        secure: false, // 不进行证书验证
      },
    },
  }
  