mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
22 lines
362 B
JavaScript
22 lines
362 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true);
|
|
const plugins = [];
|
|
|
|
plugins.push([
|
|
'react-native-unistyles/plugin',
|
|
{
|
|
root: "src",
|
|
autoProcessRoot: 'app',
|
|
autoProcessImports: ['@/components']
|
|
},
|
|
]);
|
|
|
|
plugins.push('react-native-reanimated/plugin');
|
|
|
|
return {
|
|
presets: ['babel-preset-expo'],
|
|
|
|
plugins,
|
|
};
|
|
};
|