f / vue-wait

Complex Loader and Progress Management for Vue/Vuex and Nuxt Applications
MIT License
2k stars 101 forks source link

dependency matcher causing UglifyJS Error #42

Closed Ewocker closed 6 years ago

Ewocker commented 6 years ago

Using webpack3, a package you use "matcher" cause: (I thought it was vue-wait but seems not)

ERROR in ... from UglifyJs
Unexpected character '`' ...

Not sure why it is like this, I had to put your package source as well as matcher in my source and transform with my babel setup.

I was using this starting vuex-loading and it happens when I recently upgrade to this. I think it is because matcher does not transform the code but I am not sure... You might want to try it out yourself cuz this can make lots of frontend people move away from vue-wait which is a awesome package.

f commented 6 years ago

You exactly found the issue, thanks. I bundled the matcher's code into the vue-wait and now it's being transformed. Please update to 1.2.3.

Ewocker commented 6 years ago

Thanks for the quick action bud!!! I really enjoy using your tool.