.babelrc.js 243 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/plugin-proposal-object-rest-spread'
Johann-S's avatar
Johann-S committed
14
  ]
Henry Zhu's avatar
Henry Zhu committed
15
};