Files
Chromacase/front/babel.config.js
2023-11-18 23:29:22 +01:00

28 lines
593 B
JavaScript

module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'module:react-native-dotenv',
{
moduleName: '@env',
path: '.env',
blacklist: null,
whitelist: null,
safe: false,
allowUndefined: true,
},
],
'@babel/plugin-proposal-export-namespace-from',
'react-native-reanimated/plugin',
],
// plugins: ['@babel/plugin-proposal-export-namespace-from', 'react-native-reanimated/plugin'],
// env: {
// production: {
// plugins: ['react-native-paper/babel'],
// },
// },
};
};