UNPKG

@roots/bud-build

Version:

bud.js core module

8 lines (7 loc) 276 B
export const infrastructureLogging = async (bud) => bud.hooks.filter(`build.infrastructureLogging`, { ...(bud.context?.verbose ? { console, level: `verbose` } : bud.context?.log ? { console, level: `log` } : { level: `none` }), });