14 Star 69 Fork 22

antv / Graphin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.umirc.js 2.65 KB
一键复制 编辑 原始数据 按行查看 历史
PomeloTerminal 提交于 2023-04-27 14:39 . chore: update version
import { join } from 'path';
const isProduction = process.env.NODE_ENV === 'production';
export default {
title: 'Graphin',
mode: 'site',
base: '/',
publicPath: '/',
logo: 'https://gw.alipayobjects.com/zos/antfincdn/FLrTNDvlna/antv.png',
favicon: 'https://gw.alipayobjects.com/zos/antfincdn/FLrTNDvlna/antv.png',
// sitemap: {
// hostname: 'graphin.antv.vision',
// },
extraBabelIncludes: ['@antv/dumi-theme-antv'],
resolve: {
includes: [
'packages/graphin/docs/',
'packages/graphin/src/components',
'packages/graphin-icons/src',
// 'packages/graphin-components/src/',
// 'packages/graphin-graphscope/docs/',
/** local develop */
// 'packages/graphin-components/src/VisSettingPanel',
],
},
alias: {
'@antv/graphin': join(__dirname, 'packages', 'graphin'),
'@antv/graphin-components': join(__dirname, 'packages', 'graphin-components'),
'@antv/graphin-icons': join(__dirname, 'packages', 'graphin-icons'),
'@antv/graphin-graphscope': join(__dirname, 'packages', 'graphin-graphscope'),
},
extraBabelPlugins: [
[
'import',
{
libraryName: 'antd',
libraryDirectory: 'es',
style: true,
},
],
],
metas: [
{
name: 'keywords',
content: 'graphin,g6,graph,Graphin,AntV Graph',
},
],
navs: [
null,
{
title: '在线分析工具 G6VP',
path: 'https://insight.antv.antgroup.com',
},
// {
// title: 'GitHub',
// path: 'https://github.com/antvis/Graphin',
// },
],
analytics: isProduction ? { ga: 'UA-148148901-8' } : false,
hash: true,
ssr: {
devServerRender: false,
},
exportStatic: {},
externals: {
react: 'window.React',
'react-dom': 'window.ReactDOM',
antd: 'window.antd',
'@antv/g6': 'window.G6',
},
targets: {
chrome: 80,
firefox: false,
safari: false,
edge: false,
ios: false,
},
theme: {
'@s-site-menu-width': '280px',
'@primary-color': '#873bf4',
},
locales: [
['zh-CN', '中文'],
['en-US', 'English'],
],
links: ['https://gw.alipayobjects.com/os/lib/antd/4.6.6/dist/antd.css'],
scripts: [
'https://gw.alipayobjects.com/os/lib/react/16.13.1/umd/react.development.js',
'https://gw.alipayobjects.com/os/lib/react-dom/16.13.1/umd/react-dom.development.js',
'https://gw.alipayobjects.com/os/lib/antd/4.6.6/dist/antd-with-locales.js',
/** G6 **/
'https://gw.alipayobjects.com/os/lib/antv/g6/4.8.10/dist/g6.min.js',
'https://gw.alipayobjects.com/os/lib/antv/g6/4.8.10/dist/g6.min.js.map',
/** lodash */
'https://gw.alipayobjects.com/os/lib/lodash/4.17.20/lodash.min.js',
],
};
JavaScript
1
https://gitee.com/antv/graphin.git
git@gitee.com:antv/graphin.git
antv
graphin
Graphin
master

搜索帮助