react-native-video/examples/basic/babel.config.js
Krzysztof Moch 211c3c7d08
fix(example): remove dependency loop (#3353)
* chore(examples/basic): fix eslint config

* chore(examples/basic): change manual linking for react-native-video

* Update examples/basic/package.json

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>

---------

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2023-11-17 08:38:26 +01:00

17 lines
317 B
JavaScript

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