rsvp-reader/babel.config.js

12 lines
311 B
JavaScript
Raw Normal View History

2019-12-13 17:32:18 +01:00
module.exports = api => {
// caching the babel config
api.cache.using(() => process.env.NODE_ENV)
return {
2020-02-02 10:02:31 +01:00
presets: [
require.resolve('@babel/preset-env'),
require.resolve('@babel/preset-react')
]
2019-12-14 10:43:07 +01:00
// plugins: [api.env('development') && 'react-refresh/babel'].filter(Boolean)
2019-12-13 17:32:18 +01:00
}
}