You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

babel.config.js 442B

123456789101112131415161718192021
  1. /**
  2. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. module.exports = {
  6. plugins: [
  7. '@babel/plugin-syntax-dynamic-import',
  8. '@babel/plugin-proposal-class-properties',
  9. ],
  10. presets: [
  11. // https://babeljs.io/docs/en/babel-preset-typescript
  12. '@babel/preset-typescript',
  13. [
  14. '@babel/preset-env',
  15. {
  16. useBuiltIns: false,
  17. modules: 'auto',
  18. },
  19. ],
  20. ],
  21. }