/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
scripts/fantom-cli.sh
21 строка
632 B
Rubén Norte
Add an interactive REPL for Fantom (yarn fantom-cli) (#57387)
01 июл 2026, 18:18
01 июл 2026, 18:18
2bb7dbb
Код
Авторство
О чём код?
#!/bin/bash # Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -e if [[ -f "BUCK" && -z "$FANTOM_FORCE_OSS_BUILD" ]]; then export JS_DIR='..' else if [[ ! -f "private/react-native-fantom/build/tester/fantom_tester" ]]; then yarn workspace @react-native/fantom build fi export FANTOM_FORCE_OSS_BUILD=1 fi # Match the heap headroom used by `fantom.sh` for the in-process Metro server. export NODE_OPTIONS='--max-old-space-size=16384' node private/react-native-fantom/repl/index.js "$@"