* 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
27 lines
620 B
JavaScript
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),
|
|
};
|
|
};
|