mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-05 07:59:28 +00:00
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:
@@ -15,10 +15,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Use Node.js 14
|
- name: Use Node.js 16
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14
|
node-version: 16
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
cache-dependency-path: 'yarn.lock'
|
cache-dependency-path: 'yarn.lock'
|
||||||
- name: Install node dependencies
|
- name: Install node dependencies
|
||||||
|
|||||||
+2
-5
@@ -25,7 +25,7 @@
|
|||||||
"windows",
|
"windows",
|
||||||
"react-native-config.js"
|
"react-native-config.js"
|
||||||
],
|
],
|
||||||
"@react-native-community/bob": {
|
"react-native-builder-bob": {
|
||||||
"source": "src",
|
"source": "src",
|
||||||
"output": "lib",
|
"output": "lib",
|
||||||
"targets": [
|
"targets": [
|
||||||
@@ -70,10 +70,6 @@
|
|||||||
"css-tree": "^1.1.3"
|
"css-tree": "^1.1.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"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": "^9.0.0",
|
||||||
"@react-native-community/cli-platform-android": "^9.0.0",
|
"@react-native-community/cli-platform-android": "^9.0.0",
|
||||||
"@react-native-community/cli-platform-ios": "^9.0.0",
|
"@react-native-community/cli-platform-ios": "^9.0.0",
|
||||||
@@ -102,6 +98,7 @@
|
|||||||
"prettier": "^2.6.2",
|
"prettier": "^2.6.2",
|
||||||
"react": "^17.0.1",
|
"react": "^17.0.1",
|
||||||
"react-native": "^0.64.0",
|
"react-native": "^0.64.0",
|
||||||
|
"react-native-builder-bob": "^0.20.4",
|
||||||
"react-native-windows": "^0.64.0",
|
"react-native-windows": "^0.64.0",
|
||||||
"react-test-renderer": "^16.13.0",
|
"react-test-renderer": "^16.13.0",
|
||||||
"release-it": "^14.12.5",
|
"release-it": "^14.12.5",
|
||||||
|
|||||||
Reference in New Issue
Block a user