0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/babel.config.js
Juan Picado 43f70437af
feat!: drop node 8 and node 10 (#2142)
There is no breaking changes on features aside of Node version
2021-03-28 10:40:52 +02:00

22 lines
474 B
JavaScript

module.exports = {
presets: [
[
'@babel/env',
{
targets: {
node: '12',
},
},
],
'@babel/typescript',
],
plugins: [
'babel-plugin-dynamic-import-node',
'@babel/proposal-class-properties',
'@babel/proposal-object-rest-spread',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/syntax-dynamic-import',
],
ignore: ['**/*.d.ts'],
};