0.0.1 • Published 5 years ago
@blackbox-vision/react-native-babel-preset v0.0.1
RN Babel Preset 
This Babel preset includes some nice defaults that we use at BlackBox Vision for building React Native Apps.
Install
You can install this library via NPM or YARN.
NPM
npm i @blackbox-vision/react-native-babel-presetYARN
yarn add @blackbox-vision/react-native-babel-presetUse case
At BlackBox Vision we aim to simplify and reduce the times we have to build and upgrade apps.
This library is a Babel preset that has nice defaults for presets and plugins. It includes:
react-native-paper/babelbabel-plugin-module-resolverbabel-plugin-transform-remove-consolemetro-react-native-babel-preset
Usage
Without options
// babel.config.js
module.exports = {
- presets: ["module:metro-react-native-babel-preset"],
+ presets: ["@blackbox-vision/react-native-babel-preset"],
};With options
// babel.config.js
module.exports = {
- presets: ["module:metro-react-native-babel-preset"],
+ presets: [["@blackbox-vision/react-native-babel-preset", {}]],
};Issues
Please, open an issue following one of the issues templates. We will do our best to fix them.
Contributing
If you want to contribute to this project see contributing for more information.
License
Distributed under the MIT license. See LICENSE for more information.
0.0.1
5 years ago