UNPKG

@nx/react-native

Version:

The Nx Plugin for React Native contains generators for managing React Native applications and libraries within an Nx workspace. It provides: -Integration with libraries such as Jest, Detox, and Storybook. -Scaffolding for creating buildable libraries th

9 lines (8 loc) 380 B
import { GeneratorCallback, Tree } from '@nx/devkit'; /** * Add web configuration to react native projects * - delete the current serve target which is just a pass-through to start target * - rename the babel.config.json to to babel-v72.config.json * - add web confiugration, it will add .babelrc.js */ export default function update(tree: Tree): Promise<GeneratorCallback>;