Skip to content

Commit

Permalink
πŸš€ Use esbuild for all production builds (#35816)
Browse files Browse the repository at this point in the history
* force esbuild

* πŸš€
  • Loading branch information
samouri committed Nov 30, 2021
1 parent 8dcbf47 commit 64895ec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build-system/tasks/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,11 +823,8 @@ function massageSourcemaps(sourcemapsFile, options) {
* @return {boolean}
*/
function shouldUseClosure() {
// Normally setting this server-side experiment flag would be handled by
// 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';
// TODO(samouri): cleanup closure build pipeline.
return false;
}

module.exports = {
Expand Down

0 comments on commit 64895ec

Please sign in to comment.