https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 37c00d42e8f06bc12e830ffee1f26d14f9b2d722 authored by ankitt on 03 January 2022, 12:15:31 UTC
fix: isDisabled, isInvalid props for form control
Tip revision: 37c00d4
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