Merge branch 'main' of github.com:bluesky-social/social-app into main
commit
9f33badfff
|
@ -8,6 +8,9 @@ module.exports = function (api) {
|
||||||
{
|
{
|
||||||
lazyImports: true,
|
lazyImports: true,
|
||||||
native: {
|
native: {
|
||||||
|
// We should be able to remove this after upgrading Expo
|
||||||
|
// to a version that includes https://github.com/expo/expo/pull/24672.
|
||||||
|
unstable_transformProfile: 'hermes-stable',
|
||||||
// Disable ESM -> CJS compilation because Metro takes care of it.
|
// Disable ESM -> CJS compilation because Metro takes care of it.
|
||||||
// However, we need it in Jest tests since those run without Metro.
|
// However, we need it in Jest tests since those run without Metro.
|
||||||
disableImportExportTransform: !isTestEnv,
|
disableImportExportTransform: !isTestEnv,
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
diff --git a/node_modules/babel-preset-expo/index.js b/node_modules/babel-preset-expo/index.js
|
||||||
|
index 2099ee3..2b9e092 100644
|
||||||
|
--- a/node_modules/babel-preset-expo/index.js
|
||||||
|
+++ b/node_modules/babel-preset-expo/index.js
|
||||||
|
@@ -105,7 +105,8 @@ module.exports = function (api, options = {}) {
|
||||||
|
],
|
||||||
|
],
|
||||||
|
plugins: [
|
||||||
|
- getObjectRestSpreadPlugin(),
|
||||||
|
+ // - dan: This will be disabled anyway when we upgrade Expo, but let's do it now.
|
||||||
|
+ // getObjectRestSpreadPlugin(),
|
||||||
|
...extraPlugins,
|
||||||
|
getAliasPlugin(),
|
||||||
|
[require.resolve('@babel/plugin-proposal-decorators'), { legacy: true }],
|
Loading…
Reference in New Issue