mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-29 04:35:43 +08:00
[tests][build] cleanup babel config
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user