brail
brail copied to clipboard
`withBrail` breaks with any page named `[foo].tsx` in Next.
The regex in extractFileParts is too naive and needs to include squared brackets in the filename portion.
Hey @jamesmoss thanks for pointing this out. Agreed. The current approach is too naive. I am currently reworking things to be more robust and less coupled.