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 {
2020-11-22 01:13:13 +01:00
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'
}
}
]
]
}
}