config.dev.js 611B

1234567891011121314151617181920
  1. // https://umijs.org/config/
  2. import { defineConfig } from 'umi';
  3. export default defineConfig({
  4. define: {
  5. API_BASE: '',
  6. H5_URL:'http://h5.njyunzhi.com/state-grid/invoice-filling-h5/index.html',
  7. MODEL_URL:'https://h5.njyunzhi.com/assets/%E6%8A%A5%E9%94%80%E4%BA%BA%E5%91%98%E6%A8%A1%E6%9D%BF.xlsx'
  8. },
  9. //
  10. plugins: [
  11. // https://github.com/zthxxx/react-dev-inspector
  12. 'react-dev-inspector/plugins/umi/react-inspector',
  13. ],
  14. // https://github.com/zthxxx/react-dev-inspector#inspector-loader-props
  15. inspectorConfig: {
  16. exclude: [],
  17. babelPlugins: [],
  18. babelOptions: {},
  19. },
  20. });