react-native-vision-camera/example/babel.config.js
Marc Rousavy c04a4b72be Bootstrap
2021-02-19 16:07:53 +01:00

17 lines
311 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),
},
},
],
],
};