← Home

Elder.js Hook: buildComplete

buildComplete : Executed after a build is complete

Contains whether the build was successful. If not it contains errors for the entire build. Also includes average performance details, and a granular performance object. Could be used to fire off additional scripts such as generating a sitemap or copying asset files to the public folder.

Plugins: Because builds are split across processes, a plugin doesn't not have a shared memory space across all processes.

Props :
perf
helpers
data
settings
timings
query
errors
routes
allRequests
Mutable :
Stable · Location: build.ts
Elder.js hook Lifecycle