@@ -20,7 +20,7 @@ develop: # build and deploy develop branch to staging
-tx pull --force --no-interactive# pull all the latest localised PO files from transifex
-npm run compile# compile localisation PO files into .js files
-REACT_APP_GRAPHQL_ENDPOINT=https://home.next.moodle.net/api/graphql CI=false npm run build --prod# Build for prod, need to specify URL of backend API, and CI=false to avoid failing on warnings
-npm run styleguide:build# generate styleguide docs
# - npm run styleguide:build # generate styleguide docs
-rm -rf public# CRA and gitlab pages both use the public folder. Only do this in a build pipeline.
-mv build public# Move build files to public dir for Gitlab Pages
-cp public/index.html public/404.html# Not necessary, but helps with https://medium.com/@pshrmn/demystifying-single-page-applications-3068d0555d46