Skip to content

Commit

Permalink
feat: enable mako ⚡ (#11326)
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 authored Oct 9, 2024
1 parent 431eb2a commit db2631e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,12 @@ export default defineConfig({
projectName: 'swagger',
},
],
mfsu: {
strategy: 'normal',
},
/**
* @name 是否开启 mako
* @description 使用 mako 极速研发
* @doc https://umijs.org/docs/api/config#mako
*/
mako: {},
esbuildMinifyIIFE: true,
requestRecord: {},
});
1 change: 0 additions & 1 deletion config/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export default {
// changeOrigin: true,
// },
// },
mako: {},
/**
* @name 详细的代理配置
* @doc https://github.com/chimurai/http-proxy-middleware
Expand Down

0 comments on commit db2631e

Please sign in to comment.