1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
verdaccio/babel.config.js

23 lines
474 B
JavaScript
Raw Normal View History

2020-10-11 19:06:21 +02:00
module.exports = {
presets: [
[
'@babel/env',
{
targets: {
node: '12',
2020-10-11 19:06:21 +02:00
},
},
],
'@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'],
};