Skip to content

Instantly share code, notes, and snippets.



Last active Mar 14, 2021
What would you like to do?
Post build script for Strapi Serverless
# scripts/
echo " – moving assets of frontend build to dev/ folder."
mkdir $PWD/build/dev
find $PWD/build/ -type f -print0 | xargs -0 mv -t $PWD/build/dev
mv $PWD/build/dev/index.html $PWD/build

This comment has been minimized.

Copy link

@nkmnz nkmnz commented Mar 14, 2021

shouldn't it be
mv $PWD/build/index.html $PWD/build/dev
in line 9?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment