Browse Source

feat: enable mako (#11326)

pull/11364/head
afc163 1 year ago
committed by GitHub
parent
commit
db2631ebe4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      config/config.ts
  2. 1
      config/proxy.ts

9
config/config.ts

@ -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
config/proxy.ts

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

Loading…
Cancel
Save