server/babel.config.js

18 строки
314 B
JavaScript

module.exports = {
plugins: [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-class-properties',
],
presets: [
// https://babeljs.io/docs/en/babel-preset-typescript
'@babel/preset-typescript',
[
'@babel/preset-env',
{
useBuiltIns: false,
modules: 'auto',
},
],
],
}