@blackbox-vision/react-native-babel-preset
v0.0.1
Published
Babel preset with config used at BBV React Native Apps
Downloads
3
Readme
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-preset
YARN
yarn add @blackbox-vision/react-native-babel-preset
Use 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/babel
babel-plugin-module-resolver
babel-plugin-transform-remove-console
metro-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.