route-parser
route-parser copied to clipboard
OR operator (I want to handle multiple file extensions)
Perhaps there's already a way to do this, but I was hoping for something along the line of "/path/to/:file(.js|.jsx)"
In this one specific case, I can certainly do ":file.js(x)", but in the general not same prefix extensions, would love to know the best way to tackle this without creating two almost identical routes.