I would like to host my React Project on Amazon S3.
I am developing it with Next.js
.
the folder tree is like below this.
pages
|- auth
| |- index.tsx
|- (...)
|- index.tsx
and I did
next build && next export
After building and exporting, I expected it
out
|- _next
|- auth
| |- index.html /* I want another index.html */
|- (...)
|- index.html
|- static
but I got it,
|- _next
|- auth.html /*I need /auth/index.html*/
|- (...)
|- index.html
|- static
How could I achieve it.
Thank you in advance.