Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
onInit: () => { | ||
console.log("onInit: I run before anything else 🐣"); | ||
}, | ||
onPreBuild: () => { | ||
console.log("onPreBuild: I run_before_ build commands are executed 🌤"); | ||
}, | ||
onBuild: () => { | ||
console.log("onBuild: I run while build commands are being executed ⚙️"); | ||
}, | ||
onPostBuild: () => { | ||
console.log("onPostBuild: I run _after_ build commands are executed ✅"); | ||
}, | ||
onSuccess: () => { | ||
console.log("onSuccess: I run on build success 🎉"); | ||
}, | ||
onError: () => { | ||
console.log("onError: I run on build error 🚒"); | ||
}, | ||
onEnd: () => { | ||
console.log( | ||
"onEnd: I run on build error or success when the build process ends 🎬" | ||
); | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
name: netlify-plugin-to-all-events |