text: // eslint-disable-next-line @typescript-eslint/no-var-requires
  const path = require('path');
  module.exports = {
    inject: {
      title: '微风开发文档',
      favicon: '',
      logo: '',
    },
    cwd: path.resolve(__dirname, './src'),
    template: path.resolve(__dirname, './src'),
    groups: [
      {
        order: 2,
        title: '组件',
        route: '/',
        basePath: './components',
      },
    ],
    port: 9002,
    injectStyles: ['http://static.assure.com/js/lib/github-markdown-css/3.0.1/github-markdown.css'],
    injectScripts: [
      'http://static.assure.com/js/lib/react/16.8.6/umd/react.production.min.js',
      'http://static.assure.com/js/lib/react-dom/16.8.6/umd/react-dom.production.min.js',
    ],
    webpack(config) {
      return config;
    },
    server(options) {
      return options;
    },
  };
  