preDeploy: async ({ constants }) => {
// console.log({ opts })
const { CACHE_DIR, BUILD_DIR } = constants // where we start from
at build/index.js at 59ca2005c27265ab879edd81be3cbbbf53fb4302 · netlify/build · GitHub suggests that each hook gets args with values we can use. However, the example in the readme for the preDeploy
hook shows no args getting passed in.
Is there a place in the code I can look at to see what is available for each hook, and/or could the docs be updated to show what is available?