34 lines
505 B
JavaScript
34 lines
505 B
JavaScript
module.exports = {
|
|
"presets": [
|
|
"module:metro-react-native-babel-preset"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"module-resolver",
|
|
{
|
|
"cwd": "babelrc",
|
|
"extensions": [
|
|
".js",
|
|
".ios.js",
|
|
".android.js"
|
|
],
|
|
"alias": {
|
|
"~": "./src",
|
|
"~comp": "./src/components",
|
|
"~cont": "./src/containers",
|
|
"helper": "./__tests__/testHelpers"
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@babel/plugin-transform-spread",
|
|
{
|
|
"loose": true
|
|
}
|
|
],
|
|
"relay",
|
|
"jest-hoist",
|
|
"import-glob"
|
|
]
|
|
}
|