about summary refs log tree commit diff
path: root/metro.config.js
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-10 22:17:27 +0000
committerGitHub <noreply@github.com>2024-12-10 22:17:27 +0000
commit48c5341644935b103fa81c91b23391f7b7c8a572 (patch)
treeb22f047869713cda511a1f87694e2590d8fa4048 /metro.config.js
parent86155986af742c34e2acc0b3773f442eb7b23af5 (diff)
downloadvoidsky-48c5341644935b103fa81c91b23391f7b7c8a572.tar.zst
Fix iOS build (#7042)
Diffstat (limited to 'metro.config.js')
-rw-r--r--metro.config.js2
1 files changed, 2 insertions, 0 deletions
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.