1
0
mirror of https://github.com/tooot-app/app synced 2025-01-10 08:33:45 +01:00
tooot/babel.config.js

18 lines
297 B
JavaScript
Raw Normal View History

2020-10-23 09:22:17 +02:00
module.exports = function (api) {
api.cache(true)
2020-10-20 10:28:42 +02:00
return {
presets: ['babel-preset-expo'],
2020-10-23 09:22:17 +02:00
plugins: [
2020-10-25 01:35:41 +02:00
['@babel/plugin-proposal-optional-chaining'],
2020-10-23 09:22:17 +02:00
[
'module-resolver',
{
alias: {
src: './src'
}
}
]
]
}
}