Migrating to SSG troubles...
Unanswered
Australian Freshwater Crocodile posted this in #help-forum
Australian Freshwater CrocodileOP
First; I am not a frontend developer whatsoever. In my newly formed small team of developers, I handle backend, cloud, and devops.
While getting automated frontend deployments to a S3 bucket, I noticed that our frontend (next 15.1.6) does not build statically (see below).
The
TL;DR
How do I refactor the codebase to make it work with SSG? are there specific functions/snippets i can
While getting automated frontend deployments to a S3 bucket, I noticed that our frontend (next 15.1.6) does not build statically (see below).
$ npx next build -d
▲ Next.js 15.1.6
Creating an optimized production build ...
✓ Compiled successfully
Skipping linting
✓ Checking validity of types
✓ Collecting page data
> Server Actions are not supported with static export.
The
next build -d
output does not include the snippets that make it not SSG-ready, and I have very little idea how to resolve these issues.TL;DR
How do I refactor the codebase to make it work with SSG? are there specific functions/snippets i can
grep
to find errors?