UNPKG

@dev-event/react-native-accordion

Version:

A performant interactive collapsed view with fully configurable options

24 lines (21 loc) 533 B
const path = require('path'); const pak = require('../package.json'); 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', ], }; };