Upgrade rn-builder-bob to enable tree-shaking in rn-web (#1993)

Upgrade rn-builder-bob to enable tree-shaking in rn-web
This commit is contained in:
Risto Keravuori
2023-03-21 06:49:28 -07:00
committed by GitHub
parent d6975ea9f2
commit eaf79ea3ee
3 changed files with 388 additions and 497 deletions

View File

@@ -25,7 +25,7 @@
"windows",
"react-native-config.js"
],
"@react-native-community/bob": {
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
@@ -70,10 +70,6 @@
"css-tree": "^1.1.3"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/plugin-syntax-flow": "^7.17.12",
"@babel/plugin-transform-react-jsx": "^7.17.12",
"@react-native-community/bob": "^0.9.7",
"@react-native-community/cli": "^9.0.0",
"@react-native-community/cli-platform-android": "^9.0.0",
"@react-native-community/cli-platform-ios": "^9.0.0",
@@ -102,6 +98,7 @@
"prettier": "^2.6.2",
"react": "^17.0.1",
"react-native": "^0.64.0",
"react-native-builder-bob": "^0.20.4",
"react-native-windows": "^0.64.0",
"react-test-renderer": "^16.13.0",
"release-it": "^14.12.5",