Never dealing with this again

This commit is contained in:
2023-06-10 19:54:00 +02:00
parent b4b49351f8
commit b2a48861e7
6 changed files with 44 additions and 13 deletions

View File

@@ -1,11 +1,18 @@
module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
"@babel/plugin-proposal-export-namespace-from",
"react-native-reanimated/plugin",
require.resolve("expo-router/babel"),
],
};
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [
"@babel/plugin-proposal-export-namespace-from",
"react-native-reanimated/plugin",
require.resolve("expo-router/babel"),
[
"module:react-native-dotenv",
{
moduleName: "react-native-dotenv",
verbose: false,
},
],
],
};
};