fix: priority of build

This commit is contained in:
chenos 2021-12-03 11:42:24 +08:00
parent 17b34980a8
commit bbed2651b3

View File

@ -4,11 +4,12 @@ import { join } from 'path';
// utils must build before core // utils must build before core
// runtime must build before renderer-react // runtime must build before renderer-react
const headPkgs = [ const headPkgs = [
'utils',
'database', 'database',
'resourcer', 'resourcer',
'actions', 'actions',
'client', 'client',
'server' 'server',
]; ];
const tailPkgs = []; const tailPkgs = [];
const otherPkgs = readdirSync(join(__dirname, 'packages')).filter( const otherPkgs = readdirSync(join(__dirname, 'packages')).filter(