https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: db5423efe43e5b0deb0e80b95ed711723415ca57 authored by Rohit Singh on 09 March 2022, 04:29:38 UTC
fix: aspectratio api
Tip revision: db5423e
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