diff --git a/build-system/tasks/helpers.js b/build-system/tasks/helpers.js index 9b3c550e00b4e..6a2984278f20f 100644 --- a/build-system/tasks/helpers.js +++ b/build-system/tasks/helpers.js @@ -812,7 +812,10 @@ function shouldUseClosure() { // the release process automatically. Since this experiment is actually on the build system // itself instead of runtime, it is never run through babel (where the replacements usually happen). // Therefore we must compute this one by hand. - return argv.define_experiment_constant !== 'ESBUILD_COMPILATION'; + // return argv.define_experiment_constant !== 'ESBUILD_COMPILATION'; + + // TODO: reenable experiment after fixing combineWithCompiledFile for esbuild flow. + return false; } module.exports = {