saikojosh / Object-Assign-Deep

Like Object.assign(), but deeper.
70 stars 13 forks source link

Unexpected character '`' using UglifyJs #8

Closed xenophy closed 6 years ago

xenophy commented 6 years ago

I'm using this module with React and ES6. So, I got error Unexpected character '`' using UglifyJs.

The cause is in the "getTypeOf" function.

Your code used "`" character for strings. I tried to change "(double quotation or single quotation) passed build via UglifyJS.

This is just report for you, It will be a great help if you have time to correct it.

thx.

saikojosh commented 6 years ago

Converted the module to single quotes.