I do but they're dynamic without exact paths. Looks like maybe it's importing things in `__next-on-p

I do but they're dynamic without exact paths.
Looks like maybe it's importing things in
__next-on-pages-dist__/functions/
in which case there is a file there that's over 1MB.
That file though has the name of the route to my page I used the server actions on. The server actions are quite literally what my API routes were(and looking through old build logs the API routes totaled < 100KB).
I'm trying to convert back to API routes to see what happens. Could be maybe that compression or minimization is worse when everything is in one route?
Was this page helpful?