Skip to content

Commit

Permalink
fix for web
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Feb 15, 2023
1 parent 52e455e commit 1fd511d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
module.exports = function(api) {
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
// fix for web caused by react-native-reanimated
// https://github.com/software-mansion/react-native-reanimated/issues/1823#issuecomment-1384307084
'@babel/plugin-proposal-export-namespace-from',
'react-native-reanimated/plugin',
]
],
};
};

0 comments on commit 1fd511d

Please sign in to comment.