Files
react-native-video/example/react-native.config.js
T

32 lines
622 B
JavaScript

const path = require('path');
const pkg = require('../package.json');
const project = (() => {
try {
const { configureProjects } = require('react-native-test-app');
return configureProjects({
android: {
sourceDir: 'android',
},
ios: {
sourceDir: 'ios',
},
windows: {
sourceDir: 'windows',
solutionFile: 'windows/VideoExample.sln',
},
});
} catch (_) {
return undefined;
}
})();
module.exports = {
...(project ? { project } : undefined),
dependencies: {
[pkg.name]: {
root: path.join(__dirname, '..'),
},
},
};