1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
Files
tooot/babel.config.js
2020-11-17 23:57:23 +01:00

25 lines
494 B
JavaScript

module.exports = function (api) {
api.cache(true)
return {
presets: [
'babel-preset-expo',
// {
// runtime: 'automatic',
// development: process.env.NODE_ENV === 'development',
// importSource: '@welldone-software/why-did-you-render'
// }
],
plugins: [
['@babel/plugin-proposal-optional-chaining'],
[
'module-resolver',
{
alias: {
src: './src'
}
}
]
]
}
}