react-native-video/examples/exampletvOS/babel.config.js
2023-08-11 23:59:39 +02:00

18 lines
373 B
JavaScript

const path = require('path');
const pak = require('../../package.json');
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'module-resolver',
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
[pak.name]: path.join(__dirname, '..', '..', pak.source),
},
},
],
],
};