You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829
  1. import { defineConfig } from "umi";
  2. import routes from './routes'
  3. export default defineConfig({
  4. outputPath: 'dist',
  5. // alias: { '@': './src' },
  6. routes,
  7. npmClient: 'npm',
  8. base: '/',
  9. publicPath: '/web/dist/',
  10. esbuildMinifyIIFE: true,
  11. icons: {
  12. },
  13. hash: true,
  14. history: {
  15. type: 'browser',
  16. },
  17. plugins: ['@react-dev-inspector/umi4-plugin','@umijs/plugins/dist/dva',],
  18. dva: {},
  19. // proxy: {
  20. // '/v1': {
  21. // 'target': 'http://54.80.112.79:9380/',
  22. // 'changeOrigin': true,
  23. // 'pathRewrite': { '^/v1': '/v1' },
  24. // },
  25. // },
  26. });