Remove console logs from production
This commit is contained in:
parent
c80c65e171
commit
7a5ff97dfc
|
@ -1,4 +1,9 @@
|
|||
module.exports = {
|
||||
presets: ['module:metro-react-native-babel-preset'],
|
||||
plugins: ['react-native-reanimated/plugin', 'react-native-paper/babel'],
|
||||
env: {
|
||||
production: {
|
||||
plugins: ['transform-remove-console'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
"@react-navigation/native-stack": "^6.6.2",
|
||||
"@types/react-native-sqlite-storage": "^5.0.2",
|
||||
"@types/react-native-vector-icons": "^6.4.11",
|
||||
"babel-plugin-transform-remove-console": "^6.9.4",
|
||||
"date-fns": "^2.28.0",
|
||||
"react": "18.0.0",
|
||||
"react-devtools": "^4.24.7",
|
||||
|
|
Loading…
Reference in New Issue
Block a user