filrak / vue-offline

Offline states and storage for Vue PWA
MIT License
349 stars 20 forks source link

npm run build error #6

Closed parsedout closed 5 years ago

parsedout commented 5 years ago

Hello. I'm having an error show up on "npm run build" command. Seems to be related to this newest module.

ERROR in static/js/vendor.5ed2498b4e9577849f57.js from UglifyJs Unexpected token: punc (() [./node_modules/vue-offline/lib/vue-offline.js:118,0][static/js/vendor.5ed2498b4e9577849f57.js:42128,6]

filrak commented 5 years ago

Can you post any link for reproduction or tell me a little bit more about your env? With vue-cli 3.0 everything seems fine with dev and prod builds

filrak commented 5 years ago

Can you please update to 2.0.2 and tell if problem is still occuring?

parsedout commented 5 years ago

Updated to 2.0.2 and the build process goes without error. Thank you for the quick fix!