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>
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
const path = require('path');
|
||||
const pak = require('../../package.json');
|
||||
|
||||
module.exports = {
|
||||
presets: ['module:metro-react-native-babel-preset'],
|
||||
plugins: [
|
||||
[
|
||||
'module-resolver',
|
||||
{
|
||||
extensions: ['.js', '.tsx', '.ts'],
|
||||
root: ['./src'],
|
||||
|
||||
alias: {
|
||||
src: './src',
|
||||
[pak.name]: path.join(__dirname, '../..', pak.source),
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user