Create next.config.js if it is missing.

This commit is contained in:
Thomas E Lackey 2024-01-10 18:36:54 -06:00
parent b83030f63b
commit d3f538bb24

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
fi
if [ ! -f "next.config.dist" ]; then
cp next.config.js next.config.dist
fi