.babelrc.js 305 B

1234567891011121314151617181920
  1. module.exports = {
  2. presets: [
  3. [
  4. '@babel/env',
  5. {
  6. loose: true,
  7. modules: false,
  8. exclude: ['transform-typeof-symbol']
  9. }
  10. ]
  11. ],
  12. plugins: [
  13. '@babel/plugin-proposal-object-rest-spread'
  14. ],
  15. env: {
  16. test: {
  17. plugins: [ 'istanbul' ]
  18. }
  19. }
  20. };