Closed amichel86 closed 3 years ago
When trying to minify all my JS files for production with Gulp, when it gets to the YTPlayer file, it crashes. Has anyone else stumbled across this and know how to fix this? I also tried jquery.mb.YTPlayer.js and got the same error
Thanks!
It turns out gulp-uglify can't handle ES6, for now I had to convert the code back.
Ref: https://stackoverflow.com/questions/40521506/gulpuglifyerrorunable-to-minify-javascript
When trying to minify all my JS files for production with Gulp, when it gets to the YTPlayer file, it crashes. Has anyone else stumbled across this and know how to fix this? I also tried jquery.mb.YTPlayer.js and got the same error
Thanks!