webscopeio / react-textarea-autocomplete

πŸ“ React component implements configurable GitHub's like textarea autocomplete.
MIT License
451 stars 80 forks source link

ERROR in index-5353b33322ce416969f9.js from UglifyJs #80

Closed fanlyze closed 6 years ago

fanlyze commented 6 years ago

When i use react-textarea-autocomplete like the demo, there is a error. That is the error of webpack to build: ERROR in index-5353b33322ce416969f9.js from UglifyJs Invalid assignment [index-5353b33322ce416969f9.js:6835,89]

Whether the use of "import emoji from "@jukben/emoji-search"" does't support β€œnew webpack.optimize.UglifyJsPlugin(),”

jukben commented 6 years ago

Thanks for reporting! This was actually issue with my different library, fixed here https://github.com/jukben/emoji-search/releases/tag/v1.1.6

Now it should work properly

fanlyze commented 6 years ago

Hi @jukben When i used v1.1.6, there was another problem. It can't load emoji: default

default

jukben commented 6 years ago

Ah, sorry @fanlyze install version 1.1.7, I did refactor πŸ‘ Should be fine now.

https://github.com/jukben/emoji-search/releases/tag/v1.1.7