text: export default {
    history: 'hash',
    plugins: [
      [
        '../../../../../umi-plugin-react/lib/index.js',
        {
          // mobile
          hd: true,
          fastClick: true,
  
          // dev boost
          dll: false,
  
          // performace
          pwa: {},
          dynamicImport: {
            webpackChunkName: true,
            loadingComponent: './Loading.js',
          },
          library: 'react',
  
          // misc
          dva: false,
          routes: {
            exclude: [/b\//],
          },
          // polyfills: [],
          antd: true,
          title: {
            defaultTitle: '默认标题',
            useLocale: true,
            format: '{current} {separator} {parent}',
            separator: '|',
          },
          locale: {
            default: 'zh-CN',
            baseNavigator: false,
          },
  
          headScripts: [{ content: `window.scripts = ['headScript1'];` }],
          scripts: [
            { content: `window.scripts.push('script1');` },
            { src: '/script2.js' },
          ],
          metas: [{ id: 'meta1', foo: '<%= PUBLIC_PATH %>bar' }],
          links: [{ id: 'link1', foo: 'bar' }],
        },
      ],
    ],
  };
  