1
0
mirror of https://github.com/tooot-app/app synced 2025-02-18 12:50:46 +01:00
tooot/babel.config.js
2020-11-05 21:47:50 +01:00

19 lines
348 B
JavaScript

module.exports = function (api) {
api.cache(true)
return {
presets: ['babel-preset-expo'],
plugins: [
['@babel/plugin-proposal-optional-chaining'],
// ['babel-plugin-typescript-to-proptypes'],
[
'module-resolver',
{
alias: {
src: './src'
}
}
]
]
}
}