blob: 72a81d08dbcdeb0db0fddd26fbaed3c9cd978587 (
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
33
34
35
36
37
38
39
40
41
|
{
"presets": [
[
"@babel/preset-env",
{
"modules": false,
"targets": {
"ie": "11"
}
}
]
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings"
],
"env": {
"karma": {
"plugins": ["babel-plugin-rewire"]
},
"coverage": {
"plugins": [
[
"babel-plugin-istanbul",
{
"exclude": ["spec/javascripts/**/*", "app/assets/javascripts/locale/**/app.js"]
}
],
[
"babel-plugin-transform-define",
{
"process.env.BABEL_ENV": "coverage"
}
],
"babel-plugin-rewire"
]
}
}
}
|