https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 564265ab2ec79d2b8154e876ce3fb4fb6788f534 authored by Suraj Ahmed on 20 September 2021, 13:03:45 UTC
feat: added v3 compatible theme
Tip revision: 564265a
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