fix: 固定corejs版本吧

This commit is contained in:
wanchun 2023-03-01 17:30:33 +08:00
parent bd66279324
commit 12f2db9deb

View File

@ -17,7 +17,7 @@ export function buildSwcOptions(targets, config, isJsx, isTs, minify = false) {
return memo;
}, {}),
mode: 'usage',
coreJs: '3',
coreJs: require('core-js/package.json').version,
},
jsc: {
parser: {