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
It seems like the outer variable name assigned by the decorators plugin is being mangled when it shouldn't be (since without the decorator it is unmangled).
Input
Output
@hello class Foo {}; new Foo();
var _class; let a = hello(_class = class Foo {}) || _class; new Foo();
Looks like the local name gets mangled with babel-minify, but not references to it.
>4%
) and minify is used.const Foo = @hello class {}
) works, though the name is not mangledIt seems like the outer variable name assigned by the decorators plugin is being mangled when it shouldn't be (since without the decorator it is unmangled).
Babel REPL Link
The text was updated successfully, but these errors were encountered: