Experiment: replace babel-loader with esbuild-loader
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: nicksnyder
This PR attempts to use esbuilder instead of babel for marginally improved build times. This is similar to a previous attempt by @umpox: https://github.com/sourcegraph/sourcegraph/compare/main...esbuild-loader
Related to: https://github.com/sourcegraph/sourcegraph/issues/18863
There have been other attempts to replace webpack entirely with esbuild, which would result in even more perf gains, but this PR is an attempt to make more marginal progress.
Current PR builds successfully, however at runtime I am getting a blank page and console error:
Uncaught ReferenceError: React is not defined
But I am not sure how to fix this.
Check out the client app preview documentation to learn more.
Push commits to the source branch or add previously merged commits to review them.