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
I believe this is a duplicate of #1420. Lack of tracking of exports through multiple levels of re-exports is a known limitation of esbuild. It's not possible to use esbuild to eliminate this as dead code.
Sorry if the problem was already discussed, not found it here in the issues.
Example code:
index.js
lib.js
submodule.js
Output (
--bundle --format=esm
):I think you understand the problem here. Is it possible to eliminate the dead code?
The text was updated successfully, but these errors were encountered: