16 lines
265 B
JavaScript
16 lines
265 B
JavaScript
const common = require('./babel.common.config');
|
|
|
|
module.exports = function(api) {
|
|
const config = common(api);
|
|
// Presets.
|
|
config.presets.push([
|
|
'@babel/preset-env',
|
|
{
|
|
targets: {
|
|
node: 'current',
|
|
},
|
|
},
|
|
]);
|
|
return config;
|
|
}
|