blob: 2bd834cafdbecd2dcc96d819d0d2270697a87eb0 (
plain)
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
|
module.exports = {
plugins: [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-transform-classes',
['@babel/plugin-proposal-class-properties', { loose: true }],
'@babel/plugin-transform-modules-commonjs',
],
presets: [
[
'@babel/preset-env',
{
corejs: 3,
useBuiltIns: 'entry',
},
],
],
env: {
test: {
presets: [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
}
}
}
|