-
Notifications
You must be signed in to change notification settings - Fork 0
/
_babel.config.js
34 lines (34 loc) · 1.07 KB
/
_babel.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const path = require('path');
module.exports = {
presets: [
[
'@babel/preset-env', { 'loose': false }
],
[
'@vue/babel-preset-app',
{
'targets': {
'browsers': ['iOS >= 8', 'Android >=5']
},
'corejs': 3,
'useBuiltIns': 'entry'
}
]
],
plugins: [
// ['@babel/plugin-proposal-private-property-in-object', {'loose': true}],
// ["@babel/plugin-proposal-private-methods", { "loose": true }],
// ['@babel/plugin-proposal-class-properties', {'loose': true}],
// [
// '@babel/plugin-transform-runtime',
// {
// 'corejs': false,
// 'helpers': true,
// 'version': require('@babel/runtime/package.json').version,
// 'regenerator': true,
// 'useESModules': true,
// 'absoluteRuntime': path.dirname(require.resolve('@babel/runtime/package.json'))
// }
// ]
]
};