fix error buid web with animated v2

This commit is contained in:
Clément Le Bihan
2023-01-27 02:02:35 +09:00
parent ae901c49d5
commit 2c0741290a
3 changed files with 58 additions and 89 deletions
+14 -11
View File
@@ -1,12 +1,15 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: ['react-native-reanimated/plugin'],
env: {
production: {
plugins: ['react-native-paper/babel'],
},
},
};
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
"@babel/plugin-proposal-export-namespace-from",
"react-native-reanimated/plugin",
],
env: {
production: {
plugins: ["react-native-paper/babel"],
},
},
};
};