Skip to content

Commit 989aba5

Browse files
committed
chore: added transform remove console
1 parent db92110 commit 989aba5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

template/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = {
3636
],
3737
env: {
3838
production: {
39-
plugins: ['react-native-paper/babel'],
39+
plugins: ['react-native-paper/babel', 'transform-remove-console'],
4040
},
4141
},
4242
};

template/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"babel-loader": "^8.2.2",
8989
"babel-plugin-module-resolver": "^4.1.0",
9090
"babel-plugin-styled-components": "^1.12.0",
91+
"babel-plugin-transform-remove-console": "^6.9.4",
9192
"detox": "^18.6.2",
9293
"eslint": "^7.14.0",
9394
"eslint-plugin-detox": "^1.0.0",
@@ -105,11 +106,11 @@
105106
"prettier": "^2.2.1",
106107
"react-dom": "17.0.1",
107108
"react-native-bundle-visualizer": "^2.2.1",
109+
"react-native-flipper": "^0.90.2",
108110
"react-test-renderer": "17.0.1",
111+
"redux-flipper": "^1.4.2",
109112
"regenerator-runtime": "^0.13.7",
110-
"typescript": "^3.8.3",
111-
"react-native-flipper": "^0.90.2",
112-
"redux-flipper": "^1.4.2"
113+
"typescript": "^3.8.3"
113114
},
114115
"resolutions": {
115116
"@types/react": "^17"

0 commit comments

Comments
 (0)