/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v0.82.0
packages/react-native/scripts/prepack.js
24 строки
566 B
Pieter De Baets
Merge all core codegen into FBReactNativeSpec (#50317)
02 июн 2025, 18:47
02 июн 2025, 18:47
95ed8a6
Код
Авторство
О чём код?
/** * 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. * * @flow * @format */ const { generateFBReactNativeSpecIOS, } = require('./codegen/generate-artifacts-executor/generateFBReactNativeSpecIOS'); const fs = require('fs'); function main() { console.info('[Prepack] Copying README.md'); fs.copyFileSync('../../README.md', './README.md'); generateFBReactNativeSpecIOS('.'); } if (require.main === module) { main(); }