https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 49e3ec8599bd2ac02db8c2c781c4e48169931afc authored by mayank-96 on 04 February 2022, 07:50:08 UTC
fix: select undefined error for empty list
Tip revision: 49e3ec8
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