3 Star 20 Fork 7

furtherBank / json-schemaeditor-antd

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.umirc.ts 931 Bytes
一键复制 编辑 原始数据 按行查看 历史
import { defineConfig } from 'dumi'
import MonacoWebpackPlugin from 'monaco-editor-webpack-plugin'
export default defineConfig({
title: 'json-schemaeditor-antd',
favicon: '/images/favicon.ico',
logo: '/images/CPU-pixel.png',
outputPath: 'docs-dist',
mode: 'site',
// more config: https://d.umijs.org/config
antd: {
compact: true
},
mfsu: {
// production: {
// output: '.mfsu-production'
// }
},
// https://umijs.org/zh-CN/guide/boost-compile-speed#monaco-editor-%E7%BC%96%E8%BE%91%E5%99%A8%E6%89%93%E5%8C%85
chainWebpack: (config, { webpack }) => {
config.plugin('monaco-editor-webpack-plugin').use(MonacoWebpackPlugin, [
{
languages: ['json']
}
])
},
// dumi 文档发布需要做的事情
history: {
type: 'hash'
},
// base: '/json-schemaeditor-antd/',
publicPath: process.env.NODE_ENV === 'production' ? '/json-schemaeditor-antd/' : '/'
})
TypeScript
1
https://gitee.com/furtherbank/json-schemaeditor-antd.git
git@gitee.com:furtherbank/json-schemaeditor-antd.git
furtherbank
json-schemaeditor-antd
json-schemaeditor-antd
master

搜索帮助