Fix site initialization in older versions of Safari (#11553)

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
DS Boyce
2026-08-26 06:35:35 -07:00
committed by Samuel Newman
parent 252c679e89
commit 05f15dd705
2 changed files with 16 additions and 1 deletions
+5 -1
View File
@@ -46,7 +46,11 @@ function patchSourceMapFilter(rules, pathPattern) {
module.exports = async function (env, argv) {
env.babel = {
dangerouslyAddModulePathsToTranspile: ['@bsky.app/expo'],
dangerouslyAddModulePathsToTranspile: [
// this covers every package that starts with these strings (e.g. @atproto/lex-client)
'@bsky.app/expo',
'@atproto/lex',
],
}
let config = await createExpoWebpackConfigAsync(env, argv)
/*