Skip to content

Commit

Permalink
feat: expose config in afterBuild event
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Aug 3, 2023
1 parent 157f652 commit 52c1246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/output/to-disk.js
Expand Up @@ -233,7 +233,7 @@ module.exports = async (env, spinner, config) => {
}

if (config.events && typeof config.events.afterBuild === 'function') {
await config.events.afterBuild(files)
await config.events.afterBuild(files, config)
}

return {
Expand Down

0 comments on commit 52c1246

Please sign in to comment.