import { defineConfig } from 'umi'; export default defineConfig({ nodeModulesTransform: { type: 'none', }, routes: [ { path: '/', exact: false, component: '@/pages/index' }, ], fastRefresh: {}, });