Transpile @atproto/api package for older browser support (#10700)
(cherry picked from commit 3c06ecfa1a)
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ function patchSourceMapFilter(rules, pathPattern) {
|
|||||||
|
|
||||||
module.exports = async function (env, argv) {
|
module.exports = async function (env, argv) {
|
||||||
env.babel = {
|
env.babel = {
|
||||||
dangerouslyAddModulePathsToTranspile: ['@bsky.app/expo'],
|
dangerouslyAddModulePathsToTranspile: ['@bsky.app/expo', '@atproto/api'],
|
||||||
}
|
}
|
||||||
let config = await createExpoWebpackConfigAsync(env, argv)
|
let config = await createExpoWebpackConfigAsync(env, argv)
|
||||||
config = withAlias(config, {
|
config = withAlias(config, {
|
||||||
|
|||||||
Reference in New Issue
Block a user