c1c7a056f1
* perf: ensure we do not provide callback to native if no callback provided from app * chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size * chore: improve issue template * fix(android): avoid video view flickering at playback startup * fix: ensure player doesn't start when view is unmounted * chore: move basic sample to expo * Update examples/basic/package.json Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com> * chore: use last expo version * chore: fix podfile --------- Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
18 lines
367 B
JavaScript
18 lines
367 B
JavaScript
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),
|
|
extensions: ['.tsx', '.ts', '.js', '.json'],
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|