From 4228e802b3782a48cf9fda1a4b7879c1255d5e79 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 31 Aug 2024 00:13:25 +0800 Subject: [PATCH 1/2] feat: enable mako --- config/config.ts | 10 ++++++---- config/proxy.ts | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/config.ts b/config/config.ts index f0004a8512..f251f3e9f5 100644 --- a/config/config.ts +++ b/config/config.ts @@ -14,7 +14,6 @@ export default defineConfig({ * @doc https://umijs.org/docs/api/config#hash */ hash: true, - /** * @name 兼容性设置 * @description 设置 ie11 不一定完美兼容,需要检查自己使用的所有依赖 @@ -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: {}, }); diff --git a/config/proxy.ts b/config/proxy.ts index 73f098b2e9..6631789176 100644 --- a/config/proxy.ts +++ b/config/proxy.ts @@ -21,7 +21,6 @@ export default { // changeOrigin: true, // }, // }, - mako: {}, /** * @name 详细的代理配置 * @doc https://github.com/chimurai/http-proxy-middleware From f508f2e0ca6f55aaa67e47c19377b1b6e5a2baa9 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 9 Oct 2024 11:36:54 +0800 Subject: [PATCH 2/2] Update dependabot.yml --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 323648e5b3..d91a92adc2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ version: 2 updates: - - package-ecosystem: '' # See documentation for possible values + - package-ecosystem: 'npm' # See documentation for possible values directory: '/' # Location of package manifests schedule: interval: 'weekly'