react-native-vision-camera/example/babel.config.js
2021-02-19 19:06:28 +01:00

18 lines
349 B
JavaScript

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