Skip to content

Commit

Permalink
yarn run build in web subdir (#3244)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijt committed Apr 5, 2019
1 parent c323ebf commit f5a8abe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/frontend/pre-build.sh
Expand Up @@ -6,8 +6,10 @@ cd $(dirname "${BASH_SOURCE[0]}")/../..
echo "--- yarn"
[[ -z "${CI}" ]] && yarn || yarn --frozen-lockfile --network-timeout 60000

pushd web
echo "--- yarn run build"
NODE_ENV=production DISABLE_TYPECHECKING=true yarn run build
popd

echo "--- go generate"
go generate ./cmd/frontend/internal/app/assets ./cmd/frontend/internal/app/templates ./cmd/frontend/docsite

0 comments on commit f5a8abe

Please sign in to comment.