-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.babelrc
More file actions
26 lines (26 loc) · 758 Bytes
/
.babelrc
File metadata and controls
26 lines (26 loc) · 758 Bytes
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
// We use the .babelrc here to help transpile our tools and support tooling
// (such as testing libs).
// I would recommend that you keep this file in feature parity with
// the config/babelConfigResolver. That way you get to use the same level of
// javascript syntax across the entire project.
// It's nice not having to worry/think about what level of javascript syntax
// is supported for each context.
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": true
}
}
],
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings"
]
}