/
babel.config.json
68 lines (68 loc) · 1.69 KB
/
babel.config.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"env": {
"development": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
}
},
"plugins": [
"@babel/plugin-external-helpers",
["@babel/plugin-proposal-decorators", {
"version": "legacy"
}],
"babel-plugin-dedent",
"babel-plugin-django-gettext",
[
"htm",
{
"import": {
"export": "craftComponent",
"module": "@beanbag/ink"
},
"pragma": "craftComponent",
"tag": "craft",
"useBuiltins": true,
"useNativeSpread": true
},
"htm-craft"
],
[
"htm", {
"import": {
"export": "paintComponent",
"module": "@beanbag/ink"
},
"pragma": "paintComponent",
"tag": "paint",
"useBuiltins": true,
"useNativeSpread": true
},
"htm-paint"
]
],
"sourceMaps": true,
"targets": [
"> 1%",
"last 2 versions",
"not dead",
"not and_chr < 92",
"not and_ff < 90",
"not and_qq < 10.4",
"not and_uc < 12.12",
"not android < 92",
"not baidu > 0",
"not chrome < 55",
"not edge < 15",
"not firefox < 52",
"not ie > 0",
"not ios_saf < 11",
"not kaios > 0",
"not op_mini all",
"not op_mob < 64",
"not opera < 42",
"not safari < 11",
"not samsung < 6.2"
]
}