mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix modern transpiler when disabled
This commit is contained in:
@@ -329,7 +329,7 @@ BCp.processOneFileForTarget = function (inputFile, source) {
|
||||
const isLegacyWebArch = arch.includes('legacy');
|
||||
|
||||
const config = lastModifiedMeteorConfig?.modern?.transpiler;
|
||||
const hasModernTranspiler = lastModifiedMeteorConfig?.modern?.transpiler !== false;
|
||||
const hasModernTranspiler = config != null && config !== false;
|
||||
const shouldSkipSwc =
|
||||
!hasModernTranspiler ||
|
||||
(isAppCode && config?.excludeApp === true) ||
|
||||
|
||||
Reference in New Issue
Block a user