Browse Source

feat: enable mako

pull/11326/head
afc163 2 years ago
parent
commit
4228e802b3
  1. 10
      config/config.ts
  2. 1
      config/proxy.ts

10
config/config.ts

@ -14,7 +14,6 @@ export default defineConfig({
* @doc https://umijs.org/docs/api/config#hash * @doc https://umijs.org/docs/api/config#hash
*/ */
hash: true, hash: true,
/** /**
* @name * @name
* @description ie11 使 * @description ie11 使
@ -148,9 +147,12 @@ export default defineConfig({
projectName: 'swagger', projectName: 'swagger',
}, },
], ],
mfsu: { /**
strategy: 'normal', * @name mako
}, * @description 使 mako
* @doc https://umijs.org/docs/api/config#mako
*/
mako: {},
esbuildMinifyIIFE: true, esbuildMinifyIIFE: true,
requestRecord: {}, requestRecord: {},
}); });

1
config/proxy.ts

@ -21,7 +21,6 @@ export default {
// changeOrigin: true, // changeOrigin: true,
// }, // },
// }, // },
mako: {},
/** /**
* @name * @name
* @doc https://github.com/chimurai/http-proxy-middleware * @doc https://github.com/chimurai/http-proxy-middleware

Loading…
Cancel
Save