Create next.config.js if it is missing. #701

Merged
telackey merged 2 commits from telackey/nxtcfg into main 2024-01-15 18:12:59 +00:00
Showing only changes of commit d3f538bb24 - Show all commits

View File

@ -21,6 +21,10 @@ WORK_DIR="${1:-/app}"
cd "${WORK_DIR}" || exit 1
if [ ! -f "next.config.js" ]; then
touch next.config.js
Review

Add a comment on why this is needed

Add a comment on why this is needed
fi
if [ ! -f "next.config.dist" ]; then
cp next.config.js next.config.dist
fi