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) /*