mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-23 11:16:42 +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:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Use Node.js 14
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14
|
||||
node-version: 16
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: 'yarn.lock'
|
||||
- name: Install node dependencies
|
||||
|
||||
+2
-5
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user