Skip to content

Commit

Permalink
Disable esbuild experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri committed Aug 26, 2021
1 parent 4e191f0 commit 1668182
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build-system/tasks/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1668182

Please sign in to comment.