This project relies heavily on require.resolve. While this was initially introduced for better webpack support, this causes issue with other bundlers that don't support require.resolve such as esbuild.
I was unable to determine why the project was initially set up this way. Is there any history that can be pointed to? Understanding the use case can be helpful in figuring out a way forward for wider bundler support.
Thanks!
This project relies heavily on
require.resolve. While this was initially introduced for better webpack support, this causes issue with other bundlers that don't supportrequire.resolvesuch as esbuild.I was unable to determine why the project was initially set up this way. Is there any history that can be pointed to? Understanding the use case can be helpful in figuring out a way forward for wider bundler support.
Thanks!