Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable mako ⚡ #11326

Merged
merged 7 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: {},
Comment on lines +160 to +165
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assess the impact of removing mfsu.

The removal of the mfsu configuration option marks a significant change in the project's build strategy. It is crucial to assess the impact of this change on the build performance and ensure that all dependencies and project requirements are still being met.

Consider conducting a thorough impact analysis to verify that the removal of mfsu does not adversely affect the project's build process or performance.

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
Loading