Replies: 1 comment 1 reply
-
A quick workaround is adding |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I prevent the creation of variables with the name $ when using mangle and compress?
Here's an example that illustrates the issue where a variable named $ is created.
swc playground
Why is this a problem? When minifying for the web, pages that use jQuery depend on the $ symbol. If a variable named $ is created, it can conflict with jQuery's functionality.
How can I prevent this from happening when using mangle and compress?
Beta Was this translation helpful? Give feedback.
All reactions