rsvp-reader/babel.config.js

12 lines
311 B
JavaScript

module.exports = api => {
// caching the babel config
api.cache.using(() => process.env.NODE_ENV)
return {
presets: [
require.resolve('@babel/preset-env'),
require.resolve('@babel/preset-react')
]
// plugins: [api.env('development') && 'react-refresh/babel'].filter(Boolean)
}
}