24 строки
458 B
JavaScript
24 строки
458 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/Example.sln",
|
|
},
|
|
});
|
|
} catch (_) {
|
|
return undefined;
|
|
}
|
|
})();
|
|
|
|
module.exports = {
|
|
...(project ? { project } : undefined),
|
|
};
|