https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: fb0a0f81cafe8780b7bb31a5d8ff6d4a6611c151 authored by ankit-tailor on 17 March 2022, 13:58:28 UTC
fix: modal design changes
Tip revision: fb0a0f8
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