forked from grommet/grommet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.babelrc
More file actions
23 lines (23 loc) · 853 Bytes
/
Copy path.babelrc
File metadata and controls
23 lines (23 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"presets": [["@babel/preset-env", { "loose": true }], "@babel/preset-react"],
"plugins": [
["@babel/plugin-transform-class-properties", { "loose": true }],
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-transform-logical-assignment-operators",
["@babel/plugin-transform-optional-chaining", { "loose": false }],
["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }],
["@babel/plugin-transform-nullish-coalescing-operator", { "loose": false }],
"@babel/plugin-proposal-do-expressions",
["styled-components", { "useDisplayName": false }],
[
"transform-imports",
{
"grommet-icons/contexts": {
"transform": "grommet-icons/es6/contexts/${member}",
"preventFullImport": true,
"skipDefaultConversion": true
}
}
]
]
}