add unistyles

This commit is contained in:
Aman Varshney
2025-05-07 14:29:11 +05:30
parent d09a284ce7
commit 6c269a4c5b
74 changed files with 1762 additions and 208 deletions

View File

@@ -0,0 +1,20 @@
module.exports = function (api) {
api.cache(true);
const plugins = [];
plugins.push([
'react-native-unistyles/plugin',
{
autoProcessRoot: 'app',
autoProcessImports: ['@/components'],
},
]);
plugins.push('react-native-reanimated/plugin');
return {
presets: ['babel-preset-expo'],
plugins,
};
};