@nx/react-native
Version:
9 lines (8 loc) • 380 B
TypeScript
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>;