7 Star 34 Fork 3

umijs / umi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.fatherrc.ts 559 Bytes
一键复制 编辑 原始数据 按行查看 历史
sorrycc 提交于 2020-03-23 12:05 . style: format files with prettier 2
import { readdirSync } from 'fs';
import { join } from 'path';
// utils must build before core
// runtime must build before renderer-react
const headPkgs = ['utils', 'ast', 'runtime', 'core', 'server'];
const tailPkgs = ['umi', 'test-utils'];
const otherPkgs = readdirSync(join(__dirname, 'packages')).filter(
(pkg) =>
pkg.charAt(0) !== '.' && !headPkgs.includes(pkg) && !tailPkgs.includes(pkg),
);
export default {
target: 'node',
cjs: { type: 'babel', lazy: true },
disableTypeCheck: true,
pkgs: [...headPkgs, ...otherPkgs, ...tailPkgs],
};
JavaScript
1
https://gitee.com/umijs/umi.git
git@gitee.com:umijs/umi.git
umijs
umi
umi
master

搜索帮助