react-native-video/examples/LaftelVideo/babel.config.js

18 lines
367 B
JavaScript
Raw Normal View History

2023-04-12 23:43:13 -06:00
const path = require('path');
2023-04-12 23:44:38 -06:00
const pak = require('../../package.json');
2023-04-12 23:43:13 -06:00
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
2023-04-12 23:43:13 -06:00
plugins: [
[
'module-resolver',
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
2023-04-13 01:08:24 -06:00
[pak.name]: path.join(__dirname, '..', pak.source),
2023-04-12 23:43:13 -06:00
},
},
],
],
};