// import { defineConfig } from "umi";
import proxy from './proxy';
import router from './router'

//不使用defineConfig则能在其他地方获取这些配置
export default {
  plugins: [
    '@umijs/plugins/dist/dva'
  ],
  proxy,
  dva: {},
  base: '/cloudMenu/',
  publicPath: '/cloudMenu/',
  outputPath: 'dist',  // 打包输出目录，默认是dist
  title: '驿商云平台',
  favicons: [
    '/favicon.ico'
  ],
  routes: router,
  history: {
    type: 'browser'  // 使用browser history模式，配合IIS的URL重写规则
  }
};
