perf: incremental rebuild (--fastRebuild v2 but default) (#1841)
* checkpoint * incremental all the things * properly splice changes array * smol doc update * update docs * make fancy logger dumb in ci
This commit is contained in:
parent
a72b1a4224
commit
a737207981
36 changed files with 767 additions and 1151 deletions
|
@ -260,7 +260,7 @@ export function endsWith(s: string, suffix: string): boolean {
|
|||
return s === suffix || s.endsWith("/" + suffix)
|
||||
}
|
||||
|
||||
function trimSuffix(s: string, suffix: string): string {
|
||||
export function trimSuffix(s: string, suffix: string): string {
|
||||
if (endsWith(s, suffix)) {
|
||||
s = s.slice(0, -suffix.length)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue