diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 18:07:33 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-10-30 18:07:33 -0700 |
commit | d5c7b8ceb83c182c88aa6321fcce341dc27ae682 (patch) | |
tree | d586df35f6864355c0876c544be65e69270a3d49 | |
parent | bae429202aa11404966f62ea16a420abd893a418 (diff) | |
parent | 4a4106ba457f39e2db7f9f43cb0e3d8cfa6d0d38 (diff) | |
download | voidsky-d5c7b8ceb83c182c88aa6321fcce341dc27ae682.tar.zst |
Merge branch 'main' of github.com:bluesky-social/social-app into main
-rw-r--r-- | patches/babel-preset-fbjs+3.4.0.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/babel-preset-fbjs+3.4.0.patch b/patches/babel-preset-fbjs+3.4.0.patch new file mode 100644 index 000000000..a66f7c7d8 --- /dev/null +++ b/patches/babel-preset-fbjs+3.4.0.patch @@ -0,0 +1,12 @@ +diff --git a/node_modules/babel-preset-fbjs/plugins/inline-requires.js b/node_modules/babel-preset-fbjs/plugins/inline-requires.js +index b11fc83..e18661a 100644 +--- a/node_modules/babel-preset-fbjs/plugins/inline-requires.js ++++ b/node_modules/babel-preset-fbjs/plugins/inline-requires.js +@@ -256,6 +256,7 @@ function getInlineableModule(path, state) { + + return moduleName == null || + state.ignoredRequires.has(moduleName) || ++ moduleName.startsWith('@babel/runtime/') || + isRequireInScope + ? null + : { moduleName, requireFnName: fnName }; |