Files
com.blitzwallet/babel.config.js
T
Blake KaufmanandGitHub 519bd3c8e2 Update react native (#163)
* updating react-native

* swapping to new arch enabled image library

* fixing store styling + padding issues

* using legacy file system api for compatibility

* fixed dimensions

* fixing back handler on homepage

* fixed non awaited promise

* standardized seed language

* updating firebase dependency versions

* removing uneeded maven
2025-10-04 10:46:57 -04:00

27 lines
620 B
JavaScript

module.exports = api => {
const isProduction = api.env('production');
return {
presets: ['babel-preset-expo'],
plugins: [
['module:react-native-dotenv'],
['@babel/plugin-transform-class-static-block'],
isProduction && ['transform-remove-console'],
[
'module-resolver',
{
alias: {
crypto: 'react-native-quick-crypto',
stream: 'stream-browserify',
buffer: '@craftzdog/react-native-buffer',
},
},
],
// 👇 MUST be last
['react-native-worklets/plugin'],
].filter(Boolean),
};
};