https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: c3afa42b7790707092e094449ef6bd072cec65a7 authored by amars29 on 04 August 2023, 14:06:36 UTC
feat: added banner
Tip revision: c3afa42
babel.config.js
const path = require('path');
const pak = require('../package.json');

module.exports = function (api) {
  api.cache(true);
  return {
    presets: [['babel-preset-expo', { jsxRuntime: 'classic' }]],
    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