[tests][build] cleanup babel config

This commit is contained in:
Salakar
2018-09-08 22:53:00 +01:00
parent 9aa4de6b1b
commit 4ae88e3055

View File

@@ -9,17 +9,13 @@ module.exports = {
alias: {
// import library code from parent
'react-native-firebase': resolve(__dirname, '../src'),
// TODO - errors without this =/ rn57 not correctly providing babelHelpers?
'@babel/runtime': resolve(__dirname, 'node_modules/@babel/runtime'),
},
extensions: ['.js', '.ts', '.tsx', '.css'],
root: ['./'],
},
],
// TODO - errors without this =/ rn57 not correctly providing babelHelpers?
[
require('@babel/plugin-transform-runtime'),
'module:@babel/plugin-transform-runtime',
{
helpers: true,
regenerator: true,