babel.config.js 314 B

1234567891011121314151617
  1. module.exports = {
  2. plugins: [
  3. '@babel/plugin-syntax-dynamic-import',
  4. '@babel/plugin-proposal-class-properties',
  5. ],
  6. presets: [
  7. // https://babeljs.io/docs/en/babel-preset-typescript
  8. '@babel/preset-typescript',
  9. [
  10. '@babel/preset-env',
  11. {
  12. useBuiltIns: false,
  13. modules: 'auto',
  14. },
  15. ],
  16. ],
  17. }