We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6c43f7 commit 29b3565Copy full SHA for 29b3565
.babelrc
@@ -1,20 +1,7 @@
1
{
2
- "presets": [
3
- [
4
- "@babel/preset-env",
5
- {
6
- "targets": {
7
- "node": 10
8
- }
9
10
- ]
11
- ],
+ "targets": {"node": "10.13.0"},
12
"plugins": [
+ "@babel/plugin-transform-modules-commonjs",
13
"add-module-exports"
14
15
- "env": {
16
- "development": {
17
- "sourceMaps": "inline"
18
19
+ ]
20
}
package.json
@@ -37,7 +37,7 @@
37
"@ava/babel": "^2.0.0",
38
"@babel/cli": "^7.16.0",
39
"@babel/core": "^7.16.5",
40
- "@babel/preset-env": "^7.16.5",
+ "@babel/plugin-transform-modules-commonjs": "^7.16.5",
41
"ava": "^3.15.0",
42
"babel-plugin-add-module-exports": "^1.0.0",
43
"eslint": "^8.5.0",
0 commit comments