humus-old/babel.config.js
2019-03-20 15:29:00 -05:00

17 lines
249 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',
];
return {
presets,
plugins
};
}