Skip to content

Commit 1c1551b

Browse files
committed
Babel: dynamically specify core-js version
1 parent 363ee67 commit 1c1551b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

babel.config.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = function (api) {
3232
shippedProposals: true,
3333
targets,
3434
useBuiltIns: 'usage',
35-
corejs: '3.40.0',
35+
corejs: require( 'core-js/package.json' ).version,
3636
},
3737
],
3838
[

0 commit comments

Comments
 (0)