forked from KaTeX/KaTeX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
37 lines (37 loc) · 1.1 KB
/
.babelrc
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
{
"presets": ["flow"],
"env": {
// Duplications are inevitable due to strange .babelrc env merging:
// babel/babel#5276. This can be simplified in Babel 7 using .babelrc.js.
"production": {
"presets": [["es2015", {"modules": false, "loose": true}]],
"plugins": [
"transform-class-properties",
"transform-runtime",
"version-inline",
],
},
"development": {
"presets": [["es2015", {"modules": false, "loose": true}]],
"plugins": [
"transform-class-properties",
"transform-runtime",
"version-inline",
],
},
"test": {
"presets": [["es2015", {"loose": true}]],
"plugins": [
"transform-class-properties",
"transform-runtime",
"version-inline",
],
},
"esm": {
"plugins": [
"transform-class-properties",
"version-inline",
],
},
},
}