Currently, I manage two distinct Next.js applications that handle separate sets of routes. Additionally, I have developed a custom Next.js server that determines which page to display based on the requested URL.
I am interested in utilizing the custom server as a centralized platform for serving these pages. Is it possible to import the Next.js bundles from both applications and utilize them within the custom server? How can I go about implementing this arrangement using Next.js?