I was trying to use Sequoia for my personal Nextjs static site and hit a few things during the onboarding process. I am not sure if these all make sense to add but thought I'd put them together and get your thoughts and reactions. I'm happy to adjust them or split these up if that makes more sense. I went with this single PR but kept the commits separated by purpose.
Cover Image Size #
Just added the current size of the image in the error log. Perhaps not the most important but was helpful to me to give a little more context.
Verbose Logging #
Before I published things I wanted to know a bit more about how the parsing had gone. I figured the verbose flag could get pretty chatty and still be acceptable. Perhaps that was too much or perhaps the Object.entries() approach is too messy.
Arbitrary Post Filename Removal from Slug #
The existing removeIndexFromSlug works if the file is index.md or _index.md but I have it as post.md. While I could certainly rename all my posts to index.md and then use the existing option I figured someone else might have entry.md or content.md and this could allow those to be configurations as well.
Cover Image in Content Folder #
I have a /posts folder and then within that a child folder for each post. Within those folders is the post.md and the cover image (which has a pointer in the frontmatter). I added a fourth resolution option to look in the post-named folder to handle this situation.