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 GitHub
parent 5b88335bb1
commit 8df64fcac1
2 changed files with 16 additions and 1 deletions
+11
View File
@@ -1584,5 +1584,16 @@
"typescript/no-unsafe-member-access": {
"count": 3
}
},
"webpack.config.js": {
"import/no-nodejs-modules": {
"count": 1
},
"typescript/no-unsafe-call": {
"count": 12
},
"typescript/no-unsafe-member-access": {
"count": 33
}
}
}
+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)
/*