https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 9e940709462f0424042f9457c02267815a9b450a authored by Suraj Ahmed on 22 August 2022, 08:05:12 UTC
fix: dataSet issue on web
Tip revision: 9e94070
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