forked from nextapps-de/flexsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbabel.config.js
58 lines (58 loc) · 1.61 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
module.exports = {
"plugins": [
// ["conditional-compile", {
// "define": {
// "DEBUG": false,
// "PROFILER": false,
// "POLYFILL": true,
// "SUPPORT_WORKER": true,
// "SUPPORT_ENCODER": true,
// "SUPPORT_CACHE": true,
// "SUPPORT_ASYNC": true,
// "SUPPORT_PRESET": true,
// "SUPPORT_SUGGESTION": true,
// "SUPPORT_SERIALIZE": true,
// "SUPPORT_INFO": true,
// "SUPPORT_DOCUMENT": true,
// "SUPPORT_WHERE": true,
// "SUPPORT_PAGINATION": true,
// "SUPPORT_OPERATOR": true,
// "SUPPORT_CALLBACK": true,
// "SUPPORT_LANG": false
// }
// }],
"babel-plugin-minify-constant-folding",
"babel-plugin-minify-dead-code-elimination",
"babel-plugin-minify-flip-comparisons",
"babel-plugin-minify-guarded-expressions",
"babel-plugin-minify-infinity",
"babel-plugin-minify-mangle-names",
"babel-plugin-minify-replace",
"babel-plugin-minify-simplify",
"babel-plugin-minify-type-constructors",
"babel-plugin-transform-member-expression-literals",
"babel-plugin-transform-merge-sibling-variables",
"babel-plugin-transform-minify-booleans",
"babel-plugin-transform-property-literals",
"babel-plugin-transform-simplify-comparison-operators",
"babel-plugin-transform-undefined-to-void",
],
"presets": [
[
"@babel/preset-env",
{
"targets": {
node: 14
}
}
]
],
"ignore": [
"config.js",
"bundle.js",
"export.js"
],
"minified": true,
"compact": true,
"comments": false
}