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
about tree-shaking #4488
Comments
@wdssmq are you using an old version of rollup? |
I'll let others chime in, but this the second that said, I think I still see a bug, unless it's by design: I believe this alone should not be tree-shaken: |
@dnalborczyk Some of the older monkey scripts use jQuery, which I will gradually replace with native js, or comment out. The other issue does look like a bug, and may need further confirmation. |
As for the As for retaining |
bundle:
如何不输出「
4444
.trim();」和window.$ || unsafeWindow.$;
两行?How to not output 「
4444
.trim();」andwindow.$ || unsafeWindow.$;
?The text was updated successfully, but these errors were encountered: