fix: 固定corejs版本吧

This commit is contained in:
wanchun 2023-03-01 17:30:33 +08:00
parent 3211408133
commit f823a8cf5e

View File

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