Files
react-native/packages/assets/BUCK
T
Christoph NakazawaandFacebook GitHub Bot 63377fa66b Add @react-native/assets package for Asset Registry related code
Summary: Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D22628865

fbshipit-source-id: 66ff311b2dab4e0c42f906d5a2642997b1570ae4
2020-07-23 05:07:40 -07:00

35 lines
878 B
Python

load("@fbsource//tools/build_defs:js_glob.bzl", "js_glob")
load("@fbsource//tools/build_defs/third_party:yarn_defs.bzl", "yarn_workspace")
load("@fbsource//xplat/js:JS_DEFS.bzl", "rn_library")
rn_library(
name = "assets",
srcs = js_glob([
"**/*",
"package.json",
]),
labels = ["supermodule:xplat/default/public.react_native.core"],
skip_processors = True,
visibility = ["PUBLIC"],
worker = "//xplat/js:experimental-packager",
)
yarn_workspace(
name = "yarn-workspace",
srcs = glob(
[
"**/*.js",
"**/*.json",
],
exclude = [
"**/__fixtures__/**",
"**/__flowtests__/**",
"**/__mocks__/**",
"**/__tests__/**",
"**/node_modules/**",
"**/node_modules/.bin/**",
],
),
visibility = ["PUBLIC"],
)