Skip to content

Commit e19d94b

Browse files
committed
fix: add preset-env to make sure compilation works for vanilla build
1 parent 8adc96a commit e19d94b

File tree

2 files changed

+991
-1
lines changed

2 files changed

+991
-1
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@babel/cli": "^7.11.6",
1414
"@babel/core": "^7.11.6",
1515
"@babel/plugin-proposal-class-properties": "^7.10.4",
16+
"@babel/preset-env": "^7.12.1",
1617
"@semantic-release/git": "^9.0.0",
1718
"ava": "^3.13.0",
1819
"browser-env": "^3.3.0",
@@ -27,12 +28,16 @@
2728
"seamless-immutable": "^7.1.4",
2829
"seamless-immutable-patch": "^1.0.5"
2930
},
31+
"browserslist": "> 0.25%, not dead",
3032
"babel": {
3133
"ignore": [
3234
"./src/DatasetManager.type.js"
3335
],
3436
"plugins": [
3537
"@babel/plugin-proposal-class-properties"
38+
],
39+
"presets": [
40+
"@babel/preset-env"
3641
]
3742
}
3843
}

0 commit comments

Comments
 (0)