https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 7cc0d822024dad4f4ce87b285fa3feb7e1f4af49 authored by meenu on 03 September 2021, 12:25:36 UTC
fix: themes breakpoints issue solved
Tip revision: 7cc0d82
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