I have a prebuild script node ./src/lib/generate-api-doc.js
.
npm run dev
is working and the site is building, but when I push to Netlify, it’s not reading the script at all. I am using 11ty.
It’s publishing 101 files when it should be over 300 at this point. Not sure what to provide since it’s not even failing, it’s just skipping the script.
"prebuild": "node ./src/lib/generate-api-doc.js",
I also tried:
"prebuild": "node src/lib/generate-api-doc.js",