We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a099f9b commit 22eab47Copy full SHA for 22eab47
windows/project.mjs
@@ -12,6 +12,7 @@ import {
12
readJSONFile,
13
readTextFile,
14
toVersionNumber,
15
+ v,
16
} from "../scripts/helpers.js";
17
import * as colors from "../scripts/utils/colors.mjs";
18
@@ -413,7 +414,7 @@ export async function projectInfo(
413
414
) {
415
const version = getPackageVersion("react-native-windows", rnWindowsPath, fs);
416
const versionNumber = toVersionNumber(version);
- const newArch = Boolean(useFabric);
417
+ const newArch = useFabric ?? versionNumber >= v(0, 80, 0);
418
419
return {
420
version,
0 commit comments