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
This demonstrates a conflict between babel-plugin-minify-builtins and babel-plugin-minify-mangle-names. When a property on Math or Number is referenced twice in an array literal inside a function, only the second reference gets updated with the mangled name.
(This has been moved from PR #565)
This demonstrates a conflict between
babel-plugin-minify-builtins
andbabel-plugin-minify-mangle-names
. When a property onMath
orNumber
is referenced twice in an array literal inside a function, only the second reference gets updated with the mangled name.This appears to happen only for
Math
orNumber
properties - I triedArray
,Boolean
,Date
, and a few others, none of which had this issue.I pushed up a runnable example to btmills/babili-mangle-builtins-conflict, so you can
clone
,install
, andtest
if that's easier.The text was updated successfully, but these errors were encountered: