Skip to content

Commit

Permalink
esbuild-exp fix define_experiment_constant (#35800)
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri committed Aug 25, 2021
1 parent 18e55fc commit 37c76e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-system/tasks/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ 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 !== 'EsbuildCompilation';
return argv.define_experiment_constant !== 'ESBUILD_COMPILATION';
}

module.exports = {
Expand Down

0 comments on commit 37c76e6

Please sign in to comment.