881: Support next.config.mjs #890

Merged
telackey merged 5 commits from telackey/881 into main 2024-07-25 16:47:18 +00:00
Showing only changes of commit 48c726b67c - Show all commits

View File

@ -46,6 +46,7 @@ if [ $? -ne 0 ]; then
npm i -g js-beautify
fi
# js-beautify formats NEXTJS_CONFIG_FILE (ie next.config.js / next.config.mjs) so we can reliably transformable later
js-beautify next.config.dist > ${NEXT_CONFIG_JS}
echo "" >> ${NEXT_CONFIG_JS}