https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 03ebd00ea827781c69a8bd3e76d57cf51c4d8cc1 authored by Viraj Joshi on 04 January 2022, 08:05:10 UTC
fix: toast deafult props
Tip revision: 03ebd00
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