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


export default defineConfig({
  title: '车辆巡检数据大屏',
  nodeModulesTransform: {
    type: 'none',
  },
  publicPath: "./",
  history: {
    type: "hash"
  },
  hash: true,
  routes: route,
  proxy: proxy,
  fastRefresh: {},
  externals: {
    'react': 'React',
    'react-dom': 'ReactDOM',
  },
  antd: {
    dark: true, // 开启暗色主题
    compact: true, // 开启紧凑主题
  },
  theme: {
    "primary-color": "#14FDF7",
  },

});
