fix(developer): dist path for server

Fixes #6859.

The production path needed to have all files under the build/dist/
folder, not just the build/ folder. Broken in the refactor in #6630.
This commit is contained in:
Marc Durdin 2022-06-28 11:04:18 +10:00
parent ec690f47f9
commit 2fc74ce8e0

View file

@ -186,8 +186,8 @@ if (( production )) ; then
# We'll build in the build/ folder
rm -rf build/
mkdir build/
cp -R dist/* build/
mkdir -p build/dist/
cp -R dist/* build/dist/
cp -R "$PRODBUILDTEMP"/* build/
rm -rf "$PRODBUILDTEMP"
fi