ensure "jsc.target" is always forced to be the internal babel-compiler value set

This commit is contained in:
Nacho Codoñer
2025-09-08 09:03:26 +02:00
parent baca241df9
commit ec8849f1cb

View File

@@ -375,6 +375,7 @@ BCp.processOneFileForTarget = function (inputFile, source) {
// Merge with app-level SWC config
if (lastModifiedSwcConfig) {
swcOptions = deepMerge(swcOptions, lastModifiedSwcConfig, [
'jsc.target',
'env.targets',
'module.type',
]);