cd /testbed
git clone https://github.com/tatethurston/nextjs-routes.git . && git checkout 554d3675848ce70eaa6ac8c41be8a412d69499c5
npm install
npm run package:build
Support for Custom Page Extensions
Hi there,
Using v0.1.0, I noticed that it doesn't seem to support Custom Page Extensions. Indeed, the generated nextjs-routes.d.ts file defines a route for every files found in the pages (or src/pages) directory, including non page ones.
I think it might be something you want to consider for #44.
Feel free to ask me anything that can help.
Thanks for this tool, Vercel should take inspiration from it!