react-native-quantum-babel-annotations
v1.0.1
Published
QM Babel plugin to annotate React Native applications for better selector generation
Downloads
1,050
Readme
Quantum Metric React Native Babel Annotation Plugin
This plugin is only for React Native apps and requires an account with Quantum Metric.
Note: You must first have already installed our Native SDKs and the React Native Module before installing this plugin.
This plugin includes some extra features that improve our React Native capture support.
Install Babel plugin
npm install react-native-quantum-babel-annotations
Enable babel plugin in the babel.config.js
module.exports = function (api) {
const presets = ['module:metro-react-native-babel-preset'];
const plugins = ['module:react-native-quantum-babel-annotations'];
api.cache(false);
return {
presets,
plugins
};
};