Hi, @darksoulsong, I know SSG as meaning “Static Site Generator”:
Is it possible you mean that the build generates code which does server-side rendering (SSR) and not SSG? (If not, what does SSG stand for?)
If you are trying to due SSR at Netlify first please read this:
That guide explains why SSR doesn’t work “out of the box” at Netlify. The following blog post, however, gives examples how it can be done using Functions: