rn-emoji-keyboard/example/babel.config.js

18 lines
364 B
JavaScript
Raw Normal View History

2021-07-03 17:51:30 +00:00
const path = require('path');
const pak = require('../package.json');
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'module-resolver',
{
extensions: ['.tsx', '.ts', '.js', '.json'],
alias: {
[pak.name]: path.join(__dirname, '..', pak.source),
},
},
],
],
};