vue-photoswipe icon indicating copy to clipboard operation
vue-photoswipe copied to clipboard

Error with vue for prod

Open kenyk7 opened this issue 7 years ago • 2 comments

npm run build

ERROR in static/js/vendor.752039dd5729f04bd981.js from UglifyJs Unexpected token: name ($vm) [./~/vue-photoswipe/src/index.js:3,0][static/js/vendor.752039dd5729f04bd981.js:25554,4]

kenyk7 avatar Sep 19 '17 19:09 kenyk7

:)

kenyk7 avatar Sep 29 '17 19:09 kenyk7

@kenyk7, I experienced the same issue, so I created a variation on this plugin which solves this issue. Take a look at this repo

SabatinoMasala avatar Oct 10 '17 12:10 SabatinoMasala