babel.config.js 454 B

12345678910111213141516171819
  1. /** @type {import('ts-jest').JestConfigWithTsJest} */
  2. module.exports = {
  3. plugins: [
  4. [
  5. 'module-resolver',
  6. {
  7. alias: {
  8. '@': './src',
  9. },
  10. extensions: ['.js', '.json'],
  11. root: ['./src'],
  12. },
  13. ],
  14. 'inline-dotenv',
  15. '@babel/plugin-transform-export-namespace-from',
  16. 'react-native-worklets/plugin', // need to be the last plugin
  17. ],
  18. presets: ['module:@react-native/babel-preset'],
  19. };