feat(perf:fast-rebuilds): Stop mutating resources param in ComponentResources emitter (#977)
* Stop mutating resources param in ComponentResources emitter * Add done rebuilding log for fast rebuilds * Move google font loading to Head component * Simplify code and fix comment
This commit is contained in:
parent
6e0c102970
commit
b4236e5142
6 changed files with 72 additions and 98 deletions
|
@ -309,6 +309,8 @@ async function partialRebuildFromEntrypoint(
|
|||
}
|
||||
await rimraf([...destinationsToDelete])
|
||||
|
||||
console.log(chalk.green(`Done rebuilding in ${perf.timeSince()}`))
|
||||
|
||||
toRemove.clear()
|
||||
release()
|
||||
clientRefresh()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue