Skip to content

Commit 5772cfc

Browse files
switch to corejs3 (#505)
* switch to corejs3 * run tests only on node16
1 parent c29123e commit 5772cfc

File tree

4 files changed

+2436
-8389
lines changed

4 files changed

+2436
-8389
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x, 16.x]
19+
node-version: [16.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
es: {
3232
plugins: [
3333
...defaultPlugins,
34-
['@babel/plugin-transform-runtime', { useESModules: true, corejs: 2 }]
34+
['@babel/plugin-transform-runtime', { useESModules: true, corejs: 3 }]
3535
],
3636
ignore: ['test/**/*.js']
3737
},

0 commit comments

Comments
 (0)