https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 233241efe35b8116168d64b07201cdec2c1aa0fc authored by Ankur Kedia on 20 January 2021, 12:14:29 UTC
Fixes for button accessibility
Tip revision: 233241e
babel.config.js
const path = require('path');
const pak = require('../package.json');

module.exports = function(api) {
    api.cache(true);
    return {
        presets: ['babel-preset-expo'],
        plugins: [
            [
                'module-resolver',
                {
                    alias: {
                        // For development, we want to alias the library to the source
                        [pak.name]: path.join(__dirname, '..', pak.source),
                    },
                },
            ],
        ],
    };
};
back to top