-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
I'm willing to execute commands on hook writeBundle instead of onGenerate. Would you be OK for a PR to accept an object with hooks to bind as key, and command string as parameter? Something like this:
export default {
entry: 'src/app.js',
dest: 'public/app.js',
plugins: [
// Open the browser when the bundle is generated
execute({
generateBundle: 'echo "Bundle generated"',
writeBundle 'echo "Bundle written"',
]
}What do you think about this?
Metadata
Metadata
Assignees
Labels
No labels