-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.cjs
44 lines (44 loc) · 888 Bytes
/
index.cjs
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
/**
* @private
*/
module.exports = () => ({
plugins: [
"@babel/proposal-class-static-block",
[
"@babel/proposal-decorators",
{
decoratorsBeforeExport: false
}
],
"@babel/proposal-do-expressions",
"@babel/proposal-export-default-from",
"@babel/proposal-export-namespace-from",
"@babel/proposal-function-bind",
"@babel/proposal-function-sent",
"@babel/proposal-logical-assignment-operators",
"@babel/proposal-partial-application",
[
"@babel/proposal-pipeline-operator",
{
proposal: "minimal"
}
],
"@babel/proposal-private-property-in-object",
"@babel/proposal-throw-expressions",
"@babel/syntax-import-assertions",
"@babel/syntax-top-level-await"
],
presets: [
[
"@babel/env",
{
modules: false,
shippedProposals: true,
targets: {
esmodules: true,
node: process.versions.node
}
}
]
]
});