https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 9959c5a57aa7b43e273d04486f77c01e9da46331 authored by Rohit Singh on 12 April 2021, 13:25:45 UTC
fix: list item typings
Tip revision: 9959c5a
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