Closed ncvescera closed 4 months ago
Hey @ncvescera, unfortunately statically exporting is not available. It uses api calls so you can only build and host locally instead of using static. This was a requirement due to supporting images, and might find a workaround for exporting one day but not the priority right now. Sorry about that.
Not closing the issue if you have further questions, but feel free to close it whenever you want.
Cheers!
@excalith thank you for the help !
This was a requirement due to supporting images,
Is this an optional feature ? Could it be disabled ?
Unfortunately it is how next builds it. Maybe there can be a workaround, but as far as I know it currently does not support that.
Unfortunately it is how next builds it. Maybe there can be a workaround, but as far as I know it currently does not support that.
Thanks so much for your help ❤️! Now that my questions are answered, I'm good to go and will close out this issue.
Describe The Bug
When I run the
yarn export
command I get the following error:By changing the
output
field from standalone to export (innext.config.js
) and running theyarn build
command I manage to obtain the build, but when I try to open theout/index.html
file I get a blank page.Inspecting the page I see the following errors and wornings:
To Reproduce
Steps to reproduce the behavior:
yarn export
output
field from standalone to export insidenext.config.js
yarn build
out/index.html
fileSpecs