Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

.babelrc

29 lines577 Bytes

1{
2 "presets": [
3 [
4 "@babel/env",
5 {
6 "modules": false,
7 "loose": true,
8 "exclude": ["@babel/plugin-transform-regenerator"]
9 }
10 ],
11 "@babel/react"
12 ],
13 "plugins": ["babel-plugin-transform-async-to-promises"],
14 "env": {
15 "test": {
16 "presets": [
17 [
18 "@babel/env",
19 {
20 "modules": "commonjs",
21 "loose": true,
22 "exclude": ["@babel/plugin-transform-regenerator"]
23 }
24 ]
25 ],
26 "plugins": ["babel-plugin-transform-async-to-promises"]
27 }
28 }