folke / ultra-runner

🏃⛰ Ultra fast monorepo script runner and build tool
https://www.npmjs.com/package/ultra-runner
Apache License 2.0
1.2k stars 32 forks source link

Is it possible to customize the build order? #254

Open HONGJICAI opened 1 year ago

HONGJICAI commented 1 year ago

I have two large package and some small package, all of them are at the leaf node of the dependency tree

Assume this is the build time of my packages.

large:|----------------------------|
small:|---|

I always see the build order:

|----------------------------|
|---||---||---||---||---||---||----------------------------|

however, I think the best order should be something like this:

|----------------------------||---||---||---|
|----------------------------||---||---||---|

Is it possible to custom the build order?