Skip to content

Commit

Permalink
Fix iOS build (#7042)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Dec 10, 2024
1 parent 8615598 commit 48c5341
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 48c5341

Please sign in to comment.