humus-old/babel.config.js
2019-04-12 11:04:59 -05:00

18 lines
279 B
JavaScript

module.exports = function (api) {
api.cache(true);
const presets = [
'@babel/preset-react',
'@babel/preset-env',
];
const plugins = [
'@babel/plugin-proposal-object-rest-spread',
'react-hot-loader/babel',
];
return {
presets,
plugins
};
}