Deprecated 'next export', what is the `-o` replacement/alternative for custom output directory ?
Unanswered
Minskin posted this in #help-forum
MinskinOP
In our project we use NextJS to generate static files. So far this was done using the script command
yarn export -- -o out/$NEXT_PUBLIC_PRODUCT/$NEXT_PUBLIC_THEME/ this passed the path specified in the -o parameter to next export. After upgrading to NextJS@13.4, a message of deprecation appeared for the next export command to be replaced by output: 'export' property in the next.config.js. I can't find anywhere in the documentation the way to specify the custom export path.