You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@akanass Yes. I know that's a "one year issue". Unfortunately, RxJS is so widely used that if we pushed out breaking changes and published new majors too often it would cause a lot of churn for everyone. That will be fixed in 8.x
Discussed in #6785
Originally posted by Conaclos January 28, 2022
Hi!
I discovered that esbuild is not able to tree-shake rxjs package when bundling under node platform.
esbuild priorizes exports condition 'node' over main-fields.
Demonstration
Note that we need to bundle for node since our project and most of our dependencies imports node-specific modules.
How to solve the issue?
rxjs should not use the condition "node".
It should use the condition "require":
instead of:
The text was updated successfully, but these errors were encountered: