react-native-vision-camera/example/babel.config.js

18 lines
349 B
JavaScript
Raw Normal View History

2021-02-19 08:07:53 -07:00
const path = require('path');
const pak = require('../package.json');
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
2021-02-19 11:06:28 -07:00
'react-native-reanimated/plugin',
2021-02-19 08:07:53 -07:00
[
'module-resolver',
{
alias: {
[pak.name]: path.join(__dirname, '..', pak.source),
},
},
],
],
};