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
Function stringToIcon imported from an external module was assigned to variable name, so it became name.stringToIcon. Also parameter of cleanIconName where stringToIcon is used has name name.
Because of that, instead of calling function, code throws an error.
The text was updated successfully, but these errors were encountered:
Expected Behavior
Original code:
Expected to remain about the same after bundling
Actual Behavior
Same function from bundle generated by rollup:
Function
stringToIcon
imported from an external module was assigned to variablename
, so it becamename.stringToIcon
. Also parameter ofcleanIconName
wherestringToIcon
is used has namename
.Because of that, instead of calling function, code throws an error.
The text was updated successfully, but these errors were encountered: