Hi stumbled upon an interesting issue that I know how to fix with a simple hack, but I would love to know the proper way.
My plugin has a dependency set as:
"dependency": "leaderbird.min.js"[/code:2akdxkpn]
Which returns an object:
[code:2akdxkpn]leaderbird = function() {}();[/code:2akdxkpn]
Obviously my plugin references said object across the various actions, expressions and conditions.
When the minification process happens, another string gets appended to the variable such as leaderbird0b, which of course doesn't exist.
Is there any way to "protect" a specific variable? Or is this a case of having to manually rename the value?
Thanks