.babelrc.js 298 Bytes
Newer Older
Henry Zhu's avatar
Henry Zhu committed
1
2
3
module.exports = {
  presets: [
    [
Johann-S's avatar
Johann-S committed
4
      '@babel/env',
Henry Zhu's avatar
Henry Zhu committed
5
6
7
      {
        loose: true,
        modules: false,
Johann-S's avatar
Johann-S committed
8
        exclude: ['transform-typeof-symbol']
Henry Zhu's avatar
Henry Zhu committed
9
10
11
12
      }
    ]
  ],
  plugins: [
13
    '@babel/proposal-object-rest-spread'
14
  ],
Johann-S's avatar
Johann-S committed
15
16
17
18
19
  env: {
    test: {
      plugins: [ 'istanbul' ]
    }
  }
Henry Zhu's avatar
Henry Zhu committed
20
};