Files
react-native/packages/polyfills/BUCK
T
Ruslan Lesiutin f0b7f50b2f cleanup(xplat/js): remove @react-native/polyfills (#35564)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/35564

Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D41614854

fbshipit-source-id: adc5d4459c00b7a9cb95c8d45c02889592e14c90
2022-12-06 05:47:41 -08:00

35 lines
955 B
Python

load("@fbsource//tools/build_defs/third_party:yarn_defs.bzl", "yarn_workspace")
load("@fbsource//xplat/js:JS_DEFS.bzl", "relative_path_to_js_root", "rn_library")
yarn_workspace(
name = "yarn-workspace",
srcs = glob(
[
"**/*.js",
"**/*.json",
],
exclude = [
"**/__fixtures__/**",
"**/__flowtests__/**",
"**/__mocks__/**",
"**/__tests__/**",
"**/node_modules/**",
"**/node_modules/.bin/**",
],
),
visibility = ["PUBLIC"],
)
rn_library(
name = "polyfills",
base_path = relative_path_to_js_root() + "node_modules/@react-native/js-polyfills/",
is_polyfill = True,
labels = [
"pfh:ReactNative_CommonInfrastructurePlaceholder",
],
node_modules_check_enabled = False,
skip_processors = True, # Don't anticipate routes or fbicon here
visibility = ["PUBLIC"],
deps = [],
)