From 48c5341644935b103fa81c91b23391f7b7c8a572 Mon Sep 17 00:00:00 2001 From: dan Date: Tue, 10 Dec 2024 22:17:27 +0000 Subject: Fix iOS build (#7042) --- metro.config.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'metro.config.js') diff --git a/metro.config.js b/metro.config.js index d083f2a84..fd31a0656 100644 --- a/metro.config.js +++ b/metro.config.js @@ -14,6 +14,8 @@ if (process.env.BSKY_PROFILE) { cfg.cacheVersion += ':PROFILE' } +cfg.resolver.assetExts = [...cfg.resolver.assetExts, 'woff2'] + cfg.resolver.resolveRequest = (context, moduleName, platform) => { // HACK: manually resolve a few packages that use `exports` in `package.json`. // A proper solution is to enable `unstable_enablePackageExports` but this needs careful testing. -- cgit 1.4.1