Files
turso/examples/react-native/react-native.config.js

22 lines
498 B
JavaScript

const path = require('path');
const pkg = require('../../bindings/react-native/package.json');
module.exports = {
project: {
ios: {
automaticPodsInstallation: true,
},
},
dependencies: {
[pkg.name]: {
root: path.join(__dirname, '../../bindings/react-native/'),
platforms: {
// Codegen script incorrectly fails without this
// So we explicitly specify the platforms with empty object
ios: {},
android: {},
},
},
},
};