NextJS from v13.3.0 next export already deprecated, and has been removed from version v14.0.0 and replace by "output" : "export", so for now if using the current document approach, it will causing error when building
Description of changes
Removed next export (due to it no longer support by NextJS from v13.3.0, replace by "output" : "export" in the next.config.js
Description of changes
NextJS
fromv13.3.0
, replace by"output" : "export"
in thenext.config.js
Referring to the official document from NextJS
Issue #, if available
https://github.com/aws-amplify/amplify-hosting/issues/3920 https://github.com/aws-amplify/amplify-hosting/issues/3872 https://github.com/aws-amplify/amplify-hosting/issues/3869
and many more ...
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.