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

webpackConfigResolveAlias.js 976 B

6 years ago
12345678910111213141516171819
  1. var path = require('path');
  2. var cwd = process.cwd();
  3. module.exports = {
  4. 'react-dom': '@hot-loader/react-dom',
  5. '@common': path.resolve(cwd, 'src/common'),
  6. '@cpts': path.resolve(cwd, 'src/components'),
  7. '@interface': path.resolve(cwd, 'src/interface'),
  8. '@path/common': path.resolve(cwd, 'src/common'),
  9. '@path/components': path.resolve(cwd, 'src/components'),
  10. '@path/Auth': path.resolve(cwd, 'src/components/Auth'),
  11. '@path/Layout': path.resolve(cwd, 'src/components/Layout'),
  12. '@path/Exception': path.resolve(cwd, 'src/components/Exception'),
  13. '@path/BaseComponent': path.resolve(cwd, 'src/components/BaseComponent/index.jsx'),
  14. '@path/LayoutBreadcrumb': path.resolve(cwd, 'src/components/Layout/LayoutBreadcrumb.jsx'),
  15. '@path/LayoutNsShow': path.resolve(cwd, 'src/components/Layout/LayoutNsShow.jsx'),
  16. '@path/ModalControl': path.resolve(cwd, 'src/components/ModalControl/index.tsx'),
  17. '@path/clipboard': path.resolve(cwd, 'src/common/clipboard.jsx'),
  18. };

类似 Grafana 可接入多种数据源,Grafana 擅长可视化,夜莺擅长告警管理