fluentui-react-native/apps/fluent-tester/react-native.config.js

24 строки
463 B
JavaScript

const project = (() => {
try {
const { configureProjects } = require('react-native-test-app');
return configureProjects({
android: {
sourceDir: 'android',
},
ios: {
sourceDir: 'ios',
},
windows: {
sourceDir: 'windows',
solutionFile: 'windows/FluentTester.sln',
},
});
} catch (_) {
return undefined;
}
})();
module.exports = {
...(project ? { project } : undefined),
};