react-native-flip
Version:
22 lines (21 loc) • 530 B
JavaScript
const pak = require("../package.json");
const path = require("path");
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'module-resolver',
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
// For development, we want to alias the library to the source
[pak.name]: path.join(__dirname, '..', pak.source),
},
},
],
'react-native-reanimated/plugin',
],
};
};