Something went wrong. Try again.
Your thinking partner.
Something went wrong. Try again.
1234567891011121314151617import type { ConfigContext, ExpoConfig } from "expo/config";const { releaseVersion } = require("./scripts/release-version.cjs");
const release = process.env.CO_RELEASE_TAG ? releaseVersion(process.env.CO_RELEASE_TAG) : undefined;
/** Web is a local review surface; distributed builds stay iOS and Android. */export default ({ config }: ConfigContext): ExpoConfig => ({ ...config, name: config.name ?? "Co", slug: config.slug ?? "co", ...(release ? { version: release.version, android: { ...config.android, versionCode: release.versionCode } } : {}), platforms: process.env.CO_DESIGN_PREVIEW === "1" ? ["ios", "android", "web"] : config.platforms,});