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

17 lines
312 B
JavaScript
Raw Normal View History

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