create-react-native-library
Version:
CLI to scaffold React Native libraries
13 lines (10 loc) • 296 B
JavaScript
const path = require('path');
const { getConfig } = require('react-native-builder-bob/babel-config');
const pkg = require('../package.json');
const root = path.resolve(__dirname, '..');
module.exports = getConfig(
{
presets: ['module:@react-native/babel-preset'],
},
{ root, pkg }
);