Skip to content

Commit

Permalink
feat: enable mako
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Aug 30, 2024
1 parent 3e59c41 commit 4228e80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 6 additions & 4 deletions config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export default defineConfig({
* @doc https://umijs.org/docs/api/config#hash
*/
hash: true,

/**
* @name 兼容性设置
* @description 设置 ie11 不一定完美兼容,需要检查自己使用的所有依赖
Expand Down Expand Up @@ -148,9 +147,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 4228e80

Please sign in to comment.