Skip to content

Commit 89a253c

Browse files
authored
feat: use core-js@3 (#669)
1 parent a2ee10b commit 89a253c

File tree

7 files changed

+18536
-5632
lines changed

7 files changed

+18536
-5632
lines changed

.babelrc

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v2
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-node@v3
1313
with:
14-
node-version: '10'
14+
node-version: 16
1515
- run: npm ci
1616
- run: npm test
17-
- uses: codecov/codecov-action@v2
17+
- uses: codecov/codecov-action@v3
1818
- run: npm run build
1919
- if: github.ref_name == 'master'
2020
run: |

babel.config.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"modules": "commonjs"
7+
}
8+
]
9+
],
10+
"plugins": [
11+
[
12+
"@babel/plugin-transform-runtime",
13+
{
14+
"corejs": 3
15+
}
16+
],
17+
[
18+
"transform-inline-environment-variables",
19+
{
20+
"include": ["PLATFORM"]
21+
}
22+
]
23+
],
24+
"env": {
25+
"test": {
26+
"plugins": ["istanbul"]
27+
}
28+
}
29+
}

browserslist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 0.25%
2+
not dead

0 commit comments

Comments
 (0)