eslint-plugin/babel.config.js
2019-05-24 18:38:25 +03:00

11 lines
230 B
JavaScript

module.exports = (api) => ({
presets: [
['@babel/preset-env', {
targets: {
node: api.env('test') ? 'current' : 8,
},
}],
['@babel/preset-typescript'],
],
});