feat: add fallback redirect for cloudflare image optimization plugin

Introduced `fallbackRedirect` option to enable a redirect to the original image if image optimization fails. Added logging for platform proxy usage and adjusted `beforeBuild` to handle undefined `app`. Minor improvements and process termination for clear command flow.
This commit is contained in:
dswbx
2025-09-19 11:28:04 +02:00
parent 99a812cc75
commit 91120091a3
4 changed files with 20 additions and 1 deletions

View File

@@ -35,4 +35,6 @@ async function action({
await writeFile(outfile, et.toString());
console.info(`\nTypes written to ${c.cyan(outfile)}`);
}
process.exit(0);
}