-
Notifications
You must be signed in to change notification settings - Fork 512
Improve tree shakability #608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sorry I didn't notice that files in Great work! Thanks! |
Yep, I put that feature in specifically to avoid breaking the imports in Prettier that I recalled imported from I am curious why esbuild can't manage to notice that those 800 lines of extra code are unused and purge them from the output, though! It's not obvious to me that importing directly from |
Thanks! Yes, we imported from
I guess that's because lines like this Line 10 in a5cf0db
were not marked as "pure", can also caused by tansformed classes, I didn't dig, just my guess. |
I wonder if put |
As I tested, My guess is correct, if I do to all the files in , I got
|
Uh oh!
There was an error while loading. Please reload this page.
Expect output to only include
convertChangesToDMP
, instead of 800+ LOCThe text was updated successfully, but these errors were encountered: