| 1 | #!/usr/bin/env bash |
| 2 | # Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | # |
| 4 | # This source code is licensed under the MIT license found in the |
| 5 | # LICENSE file in the root directory of this source tree. |
| 6 | |
| 7 | set -eo pipefail |
| 8 | |
| 9 | if [[ "$REACT_CLASS_EQUIVALENCE_TEST" == "true" ]]; then |
| 10 | exit 0 |
| 11 | fi |
| 12 | |
| 13 | echo "Building babel-plugin-react-compiler..." |
| 14 | yarn --cwd compiler workspace babel-plugin-react-compiler build --dts |