mirror of
https://github.com/tooot-app/app
synced 2024-12-16 03:08:49 +01:00
24 lines
518 B
JavaScript
24 lines
518 B
JavaScript
module.exports = function (api) {
|
|
api.cache(true)
|
|
return {
|
|
presets: ['babel-preset-expo'],
|
|
plugins: [
|
|
['@babel/plugin-proposal-optional-chaining'],
|
|
[
|
|
'module-resolver',
|
|
{
|
|
root: ['./'],
|
|
alias: {
|
|
'@assets': './assets',
|
|
'@root': './src',
|
|
'@api': './src/api',
|
|
'@components': './src/components',
|
|
'@screens': './src/screens',
|
|
'@utils': './src/utils'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|