From 8df64fcac18f913078d42b06061d9ce602cd9bbf Mon Sep 17 00:00:00 2001 From: DS Boyce <260543580+ds-boyce@users.noreply.github.com> Date: Wed, 26 Aug 2026 06:35:35 -0700 Subject: [PATCH] Fix site initialization in older versions of Safari (#11553) Co-authored-by: Samuel Newman --- oxlint-suppressions.json | 11 +++++++++++ webpack.config.js | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/oxlint-suppressions.json b/oxlint-suppressions.json index b993e7875c..bef12f4397 100644 --- a/oxlint-suppressions.json +++ b/oxlint-suppressions.json @@ -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 + } } } \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 24cfb2097a..6613692cef 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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) /*