We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66a552f commit 3228c5bCopy full SHA for 3228c5b
1 file changed
bazel/ui.bzl
@@ -87,7 +87,9 @@ def _pl_webpack_library_impl(ctx):
87
'pushd "$TMPPATH/src/ui" &> /dev/null',
88
'tar -xzf "$BASE_PATH/{}"'.format(ctx.file.deps.path),
89
'mv -f "$BASE_PATH/{}" src/pages/credits/licenses.json'.format(ctx.file.licenses.path),
90
- "yarn build_prod",
+ "retval=0",
91
+ "output=`yarn build_prod 2>&1` || retval=$?",
92
+ '[ "$retval" -eq 0 ] || (echo $output; echo "Build Failed with Code: $retval"; exit $retval)',
93
'cp dist/bundle.tar.gz "$BASE_PATH/{}"'.format(out.path),
94
] + ui_shared_cmds_finish
95
0 commit comments