From ec8849f1cbe88f66350bfbb7f60f77e8d8483c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Mon, 8 Sep 2025 09:03:26 +0200 Subject: [PATCH] ensure "jsc.target" is always forced to be the internal babel-compiler value set --- packages/babel-compiler/babel-compiler.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/babel-compiler/babel-compiler.js b/packages/babel-compiler/babel-compiler.js index 2cf561970d..7bfceb32d1 100644 --- a/packages/babel-compiler/babel-compiler.js +++ b/packages/babel-compiler/babel-compiler.js @@ -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', ]);