module.exports = function (api) {
    api.cache(true);
    return {
        presets: ['babel-preset-expo'],
        plugins: [
            'nativewind/babel',
            [
                'module:react-native-dotenv',
                {
                    moduleName: '@env',
                    path: 'factory-env/.env.global.development',
                    allowlist: [
                        'EXPO_PUBLIC_NODE_ENV',
                        'EXPO_PUBLIC_API_URL'
                    ],
                    blocklist: []
                }
            ]
        ]
    };
};
