Fix site initialization in older versions of Safari (#11553)
Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
@@ -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
@@ -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)
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user