Upstream PR: https://github.com/vercel/next.js/pull/29307 ## Todo - [ ] Add option to pass a `basePath` option to the module